ci(checks): use rust-cache action to cache dependencies
This commit is contained in:
parent
72a75326f7
commit
003521895d
3 changed files with 5 additions and 8 deletions
7
.github/workflows/checks.yml
vendored
7
.github/workflows/checks.yml
vendored
|
|
@ -13,11 +13,8 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install rust toolchain
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: stable
|
||||
components: clippy, rustfmt
|
||||
- run: rustup toolchain install stable --profile minimal
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
- run: cargo fmt -- --check
|
||||
- run: cargo check --workspace --examples --tests --benches --bins
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue