Skip to content

Commit 9386659

Browse files
committed
Add the rustc version into dependency cache key
1 parent e6f5124 commit 9386659

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

circle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
paths:
1818
- ~/.cargo/registry/index
1919
- restore_cache:
20-
key: dependencies-{{ checksum "Cargo.lock" }}
20+
key: dependencies-1.18-{{ checksum "Cargo.lock" }}
2121
- run: cargo test --all
2222
- run: cargo test --manifest-path=postgres/Cargo.toml --features "$(cargo read-manifest --manifest-path=postgres/Cargo.toml | jq -r '.features|keys|map(select(. != "with-security-framework" and . != "with-schannel"))|join(" ")')"
2323
- run: cargo test --manifest-path=tokio-postgres/Cargo.toml --all-features
2424
- save_cache:
25-
key: dependencies-{{ checksum "Cargo.lock" }}
25+
key: dependencies-1.18-{{ checksum "Cargo.lock" }}
2626
paths:
2727
- target
2828
- ~/.cargo/registry/cache

0 commit comments

Comments
 (0)