forked from Deuxfleurs/tricot
Try rustfmt in nix
This commit is contained in:
parent
15ab38cdb6
commit
32a0d5e148
1 changed files with 6 additions and 4 deletions
10
.drone.yml
10
.drone.yml
|
@ -6,10 +6,12 @@ node:
|
|||
nix-daemon: 1
|
||||
|
||||
steps:
|
||||
#- name: check formatting
|
||||
# image: nixpkgs/nix:nixos-22.05
|
||||
# commands:
|
||||
# - nix run --extra-experimental-features nix-command --extra-experimental-features flakes github:nixos/nixpkgs/nixos-22.05#cargo fmt -- --check
|
||||
- name: check formatting
|
||||
image: nixpkgs/nix:nixos-22.05
|
||||
environment:
|
||||
NIX_PATH: 'nixpkgs=channel:nixos-22.05'
|
||||
commands:
|
||||
- nix-shell -p cargo -p rustfmt --run 'cargo fmt -- --check'
|
||||
|
||||
- name: build
|
||||
image: nixpkgs/nix:nixos-22.05
|
||||
|
|
Loading…
Reference in a new issue