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
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- cargo
|
- cargo-{{ checksum "Cargo.lock" }}
|
||||||
- run: which rustfmt || cargo install rustfmt
|
- run: which rustfmt || cargo install rustfmt
|
||||||
- run: apt update && apt install -y wget
|
- run: apt update && apt install -y wget
|
||||||
- run: ./scripts/install-deps.sh
|
- run: ./scripts/install-deps.sh
|
||||||
|
@ -17,7 +17,7 @@ jobs:
|
||||||
- run: cargo build
|
- run: cargo build
|
||||||
- run: cargo build --release
|
- run: cargo build --release
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: cargo
|
key: cargo-{{ checksum "Cargo.lock" }}
|
||||||
paths:
|
paths:
|
||||||
- ~/.cargo
|
- ~/.cargo
|
||||||
- run: cargo test
|
- run: cargo test
|
||||||
|
|
Reference in a new issue