Skip to content

Commit fd3ae02

Browse files
committed
Use Swatinem/rust-cache@v2 for caching on Github CI
1 parent 166cbba commit fd3ae02

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/build.yaml

+1-8
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,7 @@ jobs:
1414
- nightly
1515
steps:
1616
- uses: actions/checkout@v2
17-
- uses: actions/cache@v2
18-
if: ${{ matrix.rust == 'stable' }}
19-
with:
20-
path: |
21-
~/.cargo/registry
22-
~/.cargo/git
23-
target
24-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
17+
- uses: Swatinem/rust-cache@v2
2518
- uses: actions-rs/toolchain@v1
2619
with:
2720
profile: minimal

0 commit comments

Comments
 (0)