mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-11 14:33:32 +00:00
[CI] Hash Cargo.lock in addition to toolchain for target dir cache
This commit is contained in:
parent
ac14f8d4de
commit
2e5282f929
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
||||
uses: actions/cache@v1.1.2
|
||||
with:
|
||||
path: target
|
||||
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain') }}
|
||||
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
|
||||
|
||||
- name: Prepare dependencies
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user