From 93866592e4a67cb33ee239f8b8c9b898795707cc Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sun, 9 Jul 2017 10:34:46 -0700 Subject: [PATCH] Add the rustc version into dependency cache key --- circle.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index f72dcf26..80100523 100644 --- a/circle.yml +++ b/circle.yml @@ -17,12 +17,12 @@ jobs: paths: - ~/.cargo/registry/index - restore_cache: - key: dependencies-{{ checksum "Cargo.lock" }} + key: dependencies-1.18-{{ checksum "Cargo.lock" }} - run: cargo test --all - 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(" ")')" - run: cargo test --manifest-path=tokio-postgres/Cargo.toml --all-features - save_cache: - key: dependencies-{{ checksum "Cargo.lock" }} + key: dependencies-1.18-{{ checksum "Cargo.lock" }} paths: - target - ~/.cargo/registry/cache