Skip to content

Commit 34184ba

Browse files
committed
ci: add Swatinem/rust-cache to pull-request test and clippy jobs
1 parent 09ff4bb commit 34184ba

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/pull-request.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
uses: dtolnay/rust-toolchain@stable
2626
with:
2727
toolchain: stable
28+
29+
- name: Cache Cargo dependencies
30+
uses: Swatinem/rust-cache@v2
2831

2932
- name: Install cargo-nextest
3033
uses: taiki-e/install-action@nextest
@@ -63,5 +66,8 @@ jobs:
6366
toolchain: stable
6467
components: clippy
6568

69+
- name: Cache Cargo dependencies
70+
uses: Swatinem/rust-cache@v2
71+
6672
- name: Run cargo clippy
67-
run: cargo clippy -- -D warnings
73+
run: cargo clippy -- -D warnings

0 commit comments

Comments
 (0)