Skip to content

Commit 27e84dd

Browse files
authored
CI: Use rust-cache action to cache dependencies (#38)
1 parent c49dc39 commit 27e84dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v2
2020
- run: rustup override set ${{env.MSRV}}
21+
- uses: Swatinem/[email protected]
2122
- run: cargo check --workspace --all-targets
2223
env:
2324
RUSTFLAGS: "-D warnings"
@@ -28,6 +29,7 @@ jobs:
2829
steps:
2930
- uses: actions/checkout@v2
3031
- run: rustup override set ${{env.MSRV}}
32+
- uses: Swatinem/[email protected]
3133
- run: cargo test --workspace
3234

3335
fmt:
@@ -37,6 +39,7 @@ jobs:
3739
- uses: actions/checkout@v2
3840
- run: rustup override set ${{env.MSRV}}
3941
- run: rustup component add rustfmt
42+
- uses: Swatinem/[email protected]
4043
- run: cargo fmt --all -- --check
4144

4245
clippy:
@@ -46,4 +49,5 @@ jobs:
4649
- uses: actions/checkout@v2
4750
- run: rustup override set ${{env.MSRV}}
4851
- run: rustup component add clippy
52+
- uses: Swatinem/[email protected]
4953
- run: cargo clippy --workspace -- --deny warnings

0 commit comments

Comments
 (0)