Skip to content

Commit

Permalink
Merge pull request #37 from dandi/fix-cache-exclusion
Browse files Browse the repository at this point in the history
test.yml: Fix cache non-activation check
  • Loading branch information
jwodder authored Nov 21, 2024
2 parents aeada57 + 258f49a commit 88ad112
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
toolchain: ${{ steps.msrv.outputs.msrv }}

- name: Activate cache
if: "!startsWith(github.head_ref, 'renovate/')"
if: "!startsWith(github.head_ref, 'dependabot/')"
uses: Swatinem/rust-cache@v2

- name: Build crate
Expand All @@ -79,7 +79,7 @@ jobs:
run: rustup update nightly

- name: Activate cache
if: "!startsWith(github.head_ref, 'renovate/')"
if: "!startsWith(github.head_ref, 'dependabot/')"
uses: Swatinem/rust-cache@v2

- name: Install cargo-hack and cargo-minimal-versions
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
components: llvm-tools

- name: Activate cache
if: "!startsWith(github.head_ref, 'renovate/')"
if: "!startsWith(github.head_ref, 'dependabot/')"
uses: Swatinem/rust-cache@v2

- name: Install cargo-llvm-cov
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
components: clippy, rustfmt

- name: Activate cache
if: "!startsWith(github.head_ref, 'renovate/')"
if: "!startsWith(github.head_ref, 'dependabot/')"
uses: Swatinem/rust-cache@v2

- name: Check code
Expand Down

0 comments on commit 88ad112

Please sign in to comment.