From c9b5fc0b4c46e24ea48297f497bc62fbffb12851 Mon Sep 17 00:00:00 2001 From: Rafael Cardenas Date: Fri, 4 Oct 2024 11:27:27 -0600 Subject: [PATCH] ci: cache key --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 52ecb27f2..0392847a4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -39,7 +39,7 @@ jobs: if: matrix.suite == 'cli' run: | sudo apt-get install -y redis-server - echo "TARPAULIN_FLAGS='--features redis_tests'" >> $GITHUB_ENV + echo "TARPAULIN_FLAGS=--features redis_tests" >> $GITHUB_ENV - name: Cache cargo uses: actions/cache@v4 @@ -53,7 +53,7 @@ jobs: ~/.cargo/.crates.toml ~/.cargo/.crates2.json target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-rust-${{ env.RUST_VERSION_HASH }}-${{ matrix.suite }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Install cargo-tarpaulin run: |