ci(checks): use rust-cache action to cache dependencies

This commit is contained in:
dundargoc 2024-02-04 15:36:43 +01:00
parent 72a75326f7
commit 003521895d
3 changed files with 5 additions and 8 deletions

View file

@ -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