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
|
nix-daemon: 1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
#- name: check formatting
|
- name: check formatting
|
||||||
# image: nixpkgs/nix:nixos-22.05
|
image: nixpkgs/nix:nixos-22.05
|
||||||
# commands:
|
environment:
|
||||||
# - nix run --extra-experimental-features nix-command --extra-experimental-features flakes github:nixos/nixpkgs/nixos-22.05#cargo fmt -- --check
|
NIX_PATH: 'nixpkgs=channel:nixos-22.05'
|
||||||
|
commands:
|
||||||
|
- nix-shell -p cargo -p rustfmt --run 'cargo fmt -- --check'
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: nixpkgs/nix:nixos-22.05
|
image: nixpkgs/nix:nixos-22.05
|
||||||
|
|
Loading…
Reference in a new issue