We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c115761 commit f98f22eCopy full SHA for f98f22e
.github/workflows/test.yml
@@ -38,12 +38,20 @@ jobs:
38
profile: minimal
39
components: rustfmt, clippy
40
41
+ - name: Install cargo-cache
42
+ run: cargo install cargo-cache
43
+
44
- uses: actions/cache@v3
45
with:
46
path: |
47
~/.cargo/registry
48
~/.cargo/git
- key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock', 'rust-toolchain.toml') }}-${{ env.RUST_STABLE }}
49
+ key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
50
+ restore-keys: |
51
+ ${{ runner.os }}-cargo-build-
52
53
+ - name: Clean cargo cache
54
+ run: cargo cache --autoclean
55
56
- name: cargo fmt
57
uses: actions-rs/cargo@v1
0 commit comments