Merge pull request #2917 from dundargoc/ci/cache

ci(checks): use rust-cache action to cache dependencies
This commit is contained in:
Amaan Qureshi 2024-02-04 13:10:07 -05:00 committed by GitHub
commit e86cb85c81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 check --workspace --examples --tests --benches --bins
- run: cargo fmt -- --check