Reduce size of cargo deps cache, by excluding ~/.cargo/registry/src.

This commit is contained in:
Heikki Linnakangas
2022-07-14 21:37:43 +03:00
committed by Heikki Linnakangas
parent a490f64a68
commit eaa550afcc
2 changed files with 7 additions and 0 deletions

View File

@@ -98,6 +98,7 @@ jobs:
with:
path: |
~/.cargo/registry
!~/.cargo/registry/src
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('./Cargo.lock') }}-rust-${{ matrix.rust_toolchain }}