Skip to content

Commit e24b239

Browse files
committed
add caching
1 parent 352f702 commit e24b239

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
with:
1919
components: rustfmt,clippy
2020
toolchain: 1.91.1
21+
- uses: Swatinem/rust-cache@v2
2122
- name: cargo fmt
2223
run: cargo fmt --all -- --check
2324
- name: cargo clippy
@@ -32,6 +33,7 @@ jobs:
3233
- uses: dtolnay/rust-toolchain@stable
3334
with:
3435
toolchain: ${{ matrix.rust }}
36+
- uses: Swatinem/rust-cache@v2
3537
- name: Test
3638
uses: actions-rs/cargo@v1
3739
with:
@@ -43,6 +45,7 @@ jobs:
4345
- uses: dtolnay/rust-toolchain@stable
4446
with:
4547
toolchain: stable
48+
- uses: Swatinem/rust-cache@v2
4649
- name: cargo audit
4750
uses: actions-rs/[email protected]
4851
with:

0 commit comments

Comments
 (0)