Skip to content

Commit

Permalink
Updated cache keys
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Jan 23, 2019
1 parent c3ee9a7 commit 15f1246
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- checkout
- restore_cache:
keys:
- v5-lint-{{ arch }}-{{ checksum "Cargo.lock" }}
- v6-lint-{{ arch }}-{{ checksum "Cargo.lock" }}
- run:
name: Install dependencies
command: |
Expand All @@ -27,7 +27,7 @@ jobs:
- target/debug/.fingerprint
- target/debug/build
- target/debug/deps
key: v5-lint-{{ arch }}-{{ checksum "Cargo.lock" }}
key: v6-lint-{{ arch }}-{{ checksum "Cargo.lock" }}

test:
docker:
Expand All @@ -36,7 +36,7 @@ jobs:
- checkout
- restore_cache:
keys:
- v5-test-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}
- v6-test-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}
- run:
name: Install dependencies
command: |
Expand All @@ -48,7 +48,7 @@ jobs:
- target/debug/.fingerprint
- target/debug/build
- 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:
macos:
Expand All @@ -57,7 +57,7 @@ jobs:
- checkout
- restore_cache:
keys:
- v5-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }}
- v6-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }}
- run:
name: Install crate dependencies
command: |
Expand Down Expand Up @@ -88,14 +88,14 @@ jobs:
make integration-tests
- save_cache:
paths:
- /usr/local/cargo/registry
- ~/.cargo/registry/
- target/debug/.fingerprint
- target/debug/build
- target/debug/deps
- target/release/.fingerprint
- target/release/build
- target/release/deps
key: v5-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }}
key: v6-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }}

test-and-build:
docker:
Expand All @@ -104,7 +104,7 @@ jobs:
- checkout
- restore_cache:
keys:
- v5-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}
- v6-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}
- run:
name: Install dependencies
command: |
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
- target/release/.fingerprint
- target/release/build
- 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:
macos:
Expand All @@ -144,7 +144,7 @@ jobs:
- checkout
- restore_cache:
keys:
- v5-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }}
- v6-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }}
- run:
name: Install crate dependencies
command: |
Expand Down Expand Up @@ -183,14 +183,14 @@ jobs:
- artifacts
- save_cache:
paths:
- /usr/local/cargo/registry
- ~/.cargo/registry/
- target/debug/.fingerprint
- target/debug/build
- target/debug/deps
- target/release/.fingerprint
- target/release/build
- target/release/deps
key: v5-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }}
key: v6-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }}

test-rust-nightly:
docker:
Expand All @@ -199,7 +199,7 @@ jobs:
- checkout
- restore_cache:
keys:
- v5-test-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}-nightly
- v6-test-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}-nightly
- run:
name: Install dependencies
command: |
Expand All @@ -212,7 +212,7 @@ jobs:
- target/debug/.fingerprint
- target/debug/build
- 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:
docker:
Expand Down

0 comments on commit 15f1246

Please sign in to comment.