Skip to content

Commit 6922e10

Browse files
committed
use different keys
1 parent 1cbb155 commit 6922e10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
~/.cargo/registry/cache/
2929
~/.cargo/git/db/
3030
target/
31-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
31+
key: ${{ runner.os }}-cargo-lint-${{ hashFiles('**/Cargo.lock') }}
3232
restore-keys: ${{ runner.os }}-cargo-
3333
- name: pre-commit
3434
run: pixi run pre-commit-run --color=always --show-diff-on-failure
@@ -55,7 +55,7 @@ jobs:
5555
~/.cargo/registry/cache/
5656
~/.cargo/git/db/
5757
target/
58-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
58+
key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.lock') }}
5959
restore-keys: ${{ runner.os }}-cargo-
6060
- name: Run test
6161
run: pixi run test

0 commit comments

Comments
 (0)