File tree Expand file tree Collapse file tree 3 files changed +8
-29
lines changed Expand file tree Collapse file tree 3 files changed +8
-29
lines changed Original file line number Diff line number Diff line change 2424 steps :
2525 - uses : actions/checkout@v3
2626 - name : Set up cargo cache
27- uses : actions/cache@v3
28- with :
29- path : |
30- ~/.cargo/bin/
31- ~/.cargo/registry/index/
32- ~/.cargo/registry/cache/
33- ~/.cargo/git/db/
34- target/
35- key : release-${{ runner.os }}-check-${{ hashFiles('**/Cargo.lock') }}
36- restore-keys : release-${{ runner.os }}-check-
27+ uses : Swatinem/rust-cache@dd05243424bd5c0e585e4b55eb2d7615cdd32f1f
3728 - run : cargo build --profile superoptimized --locked
3829 - uses : actions/upload-artifact@v3
3930 with :
Original file line number Diff line number Diff line change 2020 tests :
2121 runs-on : ubuntu-latest
2222 steps :
23- - name : Free up disk space
24- run : sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/share/boost "$AGENT_TOOLSDIRECTORY" /var/lib/apt/lists/*
2523 - uses : actions/checkout@v3
2624 - name : Set up cargo cache
27- uses : actions/cache@v3
28- continue-on-error : false
29- with :
30- path : |
31- ~/.cargo/bin/
32- ~/.cargo/registry/index/
33- ~/.cargo/registry/cache/
34- ~/.cargo/git/db/
35- target/
36- key : tests-${{ runner.os }}-check-${{ hashFiles('**/Cargo.lock') }}
37- restore-keys : tests-${{ runner.os }}-check-
25+ uses : Swatinem/rust-cache@dd05243424bd5c0e585e4b55eb2d7615cdd32f1f
3826 - run : cargo fmt --all -- --check
3927 - run : cargo clippy
4028 - run : cargo test
You can’t perform that action at this time.
0 commit comments