Skip to content

Commit bc49b52

Browse files
committed
Use cache for tests.
1 parent ce2f953 commit bc49b52

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v4
2727

28+
- uses: actions/cache@v4
29+
with:
30+
path: |
31+
~/.cargo/registry/index/
32+
~/.cargo/registry/cache/
33+
key: cargo-${{ hashFiles('**/Cargo.lock') }}
34+
2835
- name: Install Rust toolchain
2936
uses: actions-rust-lang/setup-rust-toolchain@v1
3037
with:

0 commit comments

Comments
 (0)