Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ jobs:
if: "!contains(matrix.runner, 'blacksmith')"
uses: Swatinem/rust-cache@v2
with:
prefix-key: "rust-test-${{ matrix.name }}"
shared-key: ${{ needs.setup-cache.outputs.cache-key }}
prefix-key: "v1-rust-test"
shared-key: "${{ matrix.name }}-${{ hashFiles('**/Cargo.lock', '**/Cargo.toml') }}"
Comment on lines +136 to +137

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check that .github/workflows/release.yml at lines 145-150 also needs the same fix, as it has macOS runners using Swatinem/rust-cache@v2 with the old pattern (shared-key: ${{ needs.prepare.outputs.cache_key }})

Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/workflows/ci.yml
Line: 136:137

Comment:
check that `.github/workflows/release.yml` at lines 145-150 also needs the same fix, as it has macOS runners using `Swatinem/rust-cache@v2` with the old pattern (`shared-key: ${{ needs.prepare.outputs.cache_key }}`)

How can I resolve this? If you propose a fix, please make it concise.


- name: Run tests
run: cargo +nightly test --workspace --all-features
Expand Down Expand Up @@ -181,8 +181,8 @@ jobs:
if: "!contains(matrix.runner, 'blacksmith')"
uses: Swatinem/rust-cache@v2
with:
prefix-key: "rust-build-${{ matrix.name }}"
shared-key: ${{ needs.setup-cache.outputs.cache-key }}
prefix-key: "v1-rust-build"
shared-key: "${{ matrix.name }}-${{ hashFiles('**/Cargo.lock', '**/Cargo.toml') }}"

- name: Check build
run: cargo +nightly check --workspace --all-features
Expand Down
Loading