Update cache key
This commit is contained in:
parent
535a91713e
commit
4a133fc8a8
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ jobs:
|
|||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- cargo
|
||||
- cargo-{{ checksum "Cargo.lock" }}
|
||||
- run: which rustfmt || cargo install rustfmt
|
||||
- run: apt update && apt install -y wget
|
||||
- run: ./scripts/install-deps.sh
|
||||
|
@ -17,7 +17,7 @@ jobs:
|
|||
- run: cargo build
|
||||
- run: cargo build --release
|
||||
- save_cache:
|
||||
key: cargo
|
||||
key: cargo-{{ checksum "Cargo.lock" }}
|
||||
paths:
|
||||
- ~/.cargo
|
||||
- run: cargo test
|
||||
|
|
Reference in a new issue