Update cache key

This commit is contained in:
Jake Howard 2017-08-15 22:59:54 +01:00
parent 535a91713e
commit 4a133fc8a8
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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