File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 8
8
ci :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
+ # Prepare
11
12
- uses : actions/checkout@v4
12
- - name : Unzip models
13
- run : ./scripts/unzip_models.sh
14
13
- uses : cachix/install-nix-action@v30
15
14
with :
16
15
github_access_token : ${{ secrets.GITHUB_TOKEN }}
16
+ - run : rm -rf /home/runner/.cargo # This needs to be done to avoid clashes with Nix
17
+
18
+ # Check and build
19
+ - run : ./scripts/unzip_models.sh
17
20
- run : nix flake check
18
- - run : rm -rf /home/runner/.cargo
19
21
- run : nix develop --command bash -c "export RUSTFLAGS='-D warnings' && cargo fmt -- --check"
20
22
- run : nix develop --command bash -c "export RUSTFLAGS='-D warnings' && cargo clippy"
21
23
- run : nix develop --command bash -c "export RUSTFLAGS='-D warnings' && cargo test"
You can’t perform that action at this time.
0 commit comments