Skip to content

Commit 90cb3f6

Browse files
committed
Let test and clippy share the same cache key
1 parent c9c66ff commit 90cb3f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ jobs:
7575
run: cargo binstall -y cargo-nextest
7676

7777
- uses: Swatinem/rust-cache@v2
78+
shared-key: test-and-clippy
7879
save-if: ${{ github.ref == 'refs/heads/master' }}
7980

8081
- name: Test
@@ -114,6 +115,7 @@ jobs:
114115

115116
- uses: Swatinem/rust-cache@v2
116117
save-if: ${{ github.ref == 'refs/heads/master' }}
118+
shared-key: test-and-clippy
117119

118120
- name: Show toolchain info
119121
run: cargo --version --verbose

0 commit comments

Comments
 (0)