Skip to content

Commit fef3362

Browse files
authored
fix: make caches unique
1 parent 9e208a9 commit fef3362

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/rust.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
~/.cargo/registry
3030
~/.cargo/git
3131
target
32-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
32+
key: ${{ runner.os }}-build-${{ hashFiles('**/Cargo.lock') }}
3333
- uses: actions-rs/cargo@v1
3434
with:
3535
use-cross: true
@@ -53,7 +53,7 @@ jobs:
5353
~/.cargo/registry
5454
~/.cargo/git
5555
target
56-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
56+
key: ${{ runner.os }}-clippy-${{ hashFiles('**/Cargo.lock') }}
5757
- name: Annotate commit with clippy warnings
5858
uses: actions-rs/clippy-check@v1
5959
with:
@@ -73,7 +73,7 @@ jobs:
7373
~/.cargo/registry
7474
~/.cargo/git
7575
target
76-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
76+
key: ${{ runner.os }}-coverage-${{ hashFiles('**/Cargo.lock') }}
7777
- uses: actions-rs/cargo@v1
7878
with:
7979
command: test

0 commit comments

Comments
 (0)