Updated cache keys

This commit is contained in:
Syrus 2019-01-22 21:40:42 -08:00
parent c3ee9a7ae5
commit 15f1246f49

View File

@ -8,7 +8,7 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- v5-lint-{{ arch }}-{{ checksum "Cargo.lock" }} - v6-lint-{{ arch }}-{{ checksum "Cargo.lock" }}
- run: - run:
name: Install dependencies name: Install dependencies
command: | command: |
@ -27,7 +27,7 @@ jobs:
- target/debug/.fingerprint - target/debug/.fingerprint
- target/debug/build - target/debug/build
- target/debug/deps - target/debug/deps
key: v5-lint-{{ arch }}-{{ checksum "Cargo.lock" }} key: v6-lint-{{ arch }}-{{ checksum "Cargo.lock" }}
test: test:
docker: docker:
@ -36,7 +36,7 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- v5-test-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }} - v6-test-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}
- run: - run:
name: Install dependencies name: Install dependencies
command: | command: |
@ -48,7 +48,7 @@ jobs:
- target/debug/.fingerprint - target/debug/.fingerprint
- target/debug/build - target/debug/build
- target/debug/deps - target/debug/deps
key: v5-test-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }} key: v6-test-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}
test-macos: test-macos:
macos: macos:
@ -57,7 +57,7 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- v5-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }} - v6-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }}
- run: - run:
name: Install crate dependencies name: Install crate dependencies
command: | command: |
@ -88,14 +88,14 @@ jobs:
make integration-tests make integration-tests
- save_cache: - save_cache:
paths: paths:
- /usr/local/cargo/registry - ~/.cargo/registry/
- target/debug/.fingerprint - target/debug/.fingerprint
- target/debug/build - target/debug/build
- target/debug/deps - target/debug/deps
- target/release/.fingerprint - target/release/.fingerprint
- target/release/build - target/release/build
- target/release/deps - target/release/deps
key: v5-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }} key: v6-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }}
test-and-build: test-and-build:
docker: docker:
@ -104,7 +104,7 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- v5-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }} - v6-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}
- run: - run:
name: Install dependencies name: Install dependencies
command: | command: |
@ -135,7 +135,7 @@ jobs:
- target/release/.fingerprint - target/release/.fingerprint
- target/release/build - target/release/build
- target/release/deps - target/release/deps
key: v5-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }} key: v6-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}
test-and-build-macos: test-and-build-macos:
macos: macos:
@ -144,7 +144,7 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- v5-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }} - v6-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }}
- run: - run:
name: Install crate dependencies name: Install crate dependencies
command: | command: |
@ -183,14 +183,14 @@ jobs:
- artifacts - artifacts
- save_cache: - save_cache:
paths: paths:
- /usr/local/cargo/registry - ~/.cargo/registry/
- target/debug/.fingerprint - target/debug/.fingerprint
- target/debug/build - target/debug/build
- target/debug/deps - target/debug/deps
- target/release/.fingerprint - target/release/.fingerprint
- target/release/build - target/release/build
- target/release/deps - target/release/deps
key: v5-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }} key: v6-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }}
test-rust-nightly: test-rust-nightly:
docker: docker:
@ -199,7 +199,7 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- v5-test-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}-nightly - v6-test-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}-nightly
- run: - run:
name: Install dependencies name: Install dependencies
command: | command: |
@ -212,7 +212,7 @@ jobs:
- target/debug/.fingerprint - target/debug/.fingerprint
- target/debug/build - target/debug/build
- target/debug/deps - target/debug/deps
key: v5-test-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}-nightly key: v6-test-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}-nightly
publish-github-release: publish-github-release:
docker: docker: