Hashing bins for unique cache key
@@ -103,9 +103,9 @@ jobs:
- uses: actions/cache@v2
with:
path: cargo-cache
- key: ${{runner.os}}-cargo
+ key: ${{runner.os}}-cargo-${{ hashFiles('cargo-cache/bins/*') }}
restore-keys: |
- ${{runner.os}}-cargo
+ ${{runner.os}}-cargo-
- uses: actions-rs/toolchain@v1
with:
