From 98f1bbab68b00a4a70a02daf5618db1b828ab17e Mon Sep 17 00:00:00 2001 From: Sean Billig Date: Sun, 30 Jun 2024 10:17:45 -0700 Subject: [PATCH] wip --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d910a5b..76b56cdd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,7 @@ jobs: - uses: dtolnay/rust-toolchain@stable with: toolchain: stable + - uses: Swatinem/rust-cache@v2 - run: cargo doc --no-deps fmt: @@ -30,6 +31,7 @@ jobs: with: toolchain: nightly components: rustfmt + - uses: Swatinem/rust-cache@v2 - run: cargo fmt --all -- --check clippy: @@ -41,6 +43,7 @@ jobs: - uses: dtolnay/rust-toolchain@stable with: toolchain: stable + - uses: Swatinem/rust-cache@v2 - run: cargo clippy --workspace --all-features --all-targets -- -D clippy::all unused_deps: @@ -49,11 +52,9 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable with: toolchain: nightly - - name: Install cargo-udeps uses: baptiste0928/cargo-install@v3 with: @@ -83,6 +84,8 @@ jobs: with: toolchain: ${{ matrix.rust }} + - uses: Swatinem/rust-cache@v2 + - name: Test run: cargo test --workspace --all-targets --no-fail-fast