From b812d3a4efcdf4cc415530b44eceae00ec96a390 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Fri, 10 Jan 2025 18:38:03 +0000 Subject: [PATCH] Don't save CI cache from secondary jobs, like mutants --- .github/workflows/tests.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4cf2ae96..d2ea9ea2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -128,6 +128,8 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly - uses: Swatinem/rust-cache@v2 + with: + save-if: false - run: cargo package --no-verify - name: Upload package artifact uses: actions/upload-artifact@v4 @@ -170,6 +172,8 @@ jobs: with: toolchain: beta - uses: Swatinem/rust-cache@v2 + with: + save-if: false - uses: taiki-e/install-action@v2 name: Install nextest using install-action with: @@ -212,6 +216,8 @@ jobs: with: toolchain: beta - uses: Swatinem/rust-cache@v2 + with: + save-if: false - uses: taiki-e/install-action@v2 name: Install nextest using install-action with: @@ -250,6 +256,8 @@ jobs: with: toolchain: beta - uses: Swatinem/rust-cache@v2 + with: + save-if: false - uses: taiki-e/install-action@v2 name: Install nextest using install-action with: