From 890c115e8b59f5ccc079d583a98db3a2ced51ba8 Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 11 Oct 2023 21:02:28 +0200 Subject: [PATCH] Use branch name as cache key. --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1a25a1a30..5305fe678 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,7 +52,7 @@ jobs: - restore_cache: name: Restore Rust cache keys: - - v5-cargo-pr-tests-{{ checksum "Cargo.toml" }} + - v5-cargo-pr-tests-{{ .Branch }} - run: name: Check without Halo2 @@ -64,7 +64,7 @@ jobs: - save_cache: name: Save Rust cache - key: v5-cargo-pr-tests-{{ checksum "Cargo.toml" }} + key: v5-cargo-pr-tests-{{ .Branch }} paths: - ~/.cargo/registry - ~/.cargo/git