File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -88,16 +88,10 @@ jobs:
88
88
- name : Checkout sources
89
89
uses : actions/checkout@v4
90
90
- uses : Swatinem/rust-cache@v2
91
- - name : Install yamlfmt
92
- env :
93
- YFV : " 0.13.0"
94
- HASH : " 043e96d754a8afa4f4c5c13ffb2f3e50c6be5a70bf53292d3025abc0b42fe4ae"
95
- run : |
96
- curl -L --fail --output /tmp/yamlfmt.tar.xz https://github.com/google/yamlfmt/releases/download/v${YFV}/yamlfmt_${YFV}_Linux_x86_64.tar.gz
97
- echo "${HASH} /tmp/yamlfmt.tar.xz" | sha256sum --check
98
- tar xf /tmp/yamlfmt.tar.xz -C /usr/local/bin yamlfmt
91
+ - name : Install nix
92
+ uses : cachix/install-nix-action@v27
99
93
- name : Check formatting
100
- run : cargo xtask fmt --check
94
+ run : nix-shell --run " cargo xtask fmt --check"
101
95
- name : Run clippy
102
96
run : |
103
97
rustup component add clippy
You can’t perform that action at this time.
0 commit comments