Skip to content

Commit

Permalink
Don't save CI cache from secondary jobs, like mutants (#481)
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefrog authored Jan 10, 2025
2 parents 54bd025 + b812d3a commit 50889d9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 50889d9

Please sign in to comment.