Skip to content

Commit a0574a3

Browse files
committed
Use rust-cache instead of the default example
1 parent e448550 commit a0574a3

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/rust-build.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,8 @@ jobs:
3030
with:
3131
submodules: true
3232

33-
- name: Cache dependencies
34-
uses: actions/cache@v4
35-
with:
36-
path: |
37-
~/.cargo/registry
38-
~/.cargo/git
39-
target
40-
key: ${{ matrix.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
33+
- name: Rust Cache
34+
uses: Swatinem/rust-cache@v2
4135

4236
- name: Print tool versions
4337
run: |

0 commit comments

Comments
 (0)