Skip to content

Commit 0477514

Browse files
committed
Use rust-cache action
1 parent ce6fb18 commit 0477514

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,9 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v2
20-
- name: cache
21-
uses: actions/cache@v2
20+
- uses: Swatinem/rust-cache@v1.2.0
2221
with:
23-
path: |
24-
~/.cargo/
25-
target
26-
key: ${{ matrix.os }}-${{ matrix.feature }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
22+
key: ${{ matrix.feature }}${{ matrix.os }}
2723
- uses: actions-rs/toolchain@v1
2824
with:
2925
toolchain: stable

0 commit comments

Comments
 (0)