From f45daf80315c7cef2b09c62f0b964ec1fcb2ca32 Mon Sep 17 00:00:00 2001 From: curquiza Date: Mon, 13 Mar 2023 14:24:15 +0100 Subject: [PATCH] Enable cache again in test suite CI --- .github/workflows/test-suite.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 69deade9d..e08b77e3d 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -42,9 +42,8 @@ jobs: with: toolchain: nightly override: true - # Disable cache due to disk space issues with Windows workers in CI - # - name: Cache dependencies - # uses: Swatinem/rust-cache@v2.2.0 + - name: Cache dependencies + uses: Swatinem/rust-cache@v2.2.0 - name: Run cargo check without any default features uses: actions-rs/cargo@v1 with: @@ -65,8 +64,8 @@ jobs: os: [macos-12, windows-2022] steps: - uses: actions/checkout@v3 - # - name: Cache dependencies - # uses: Swatinem/rust-cache@v2.2.0 + - name: Cache dependencies + uses: Swatinem/rust-cache@v2.2.0 - name: Run cargo check without any default features uses: actions-rs/cargo@v1 with: @@ -123,8 +122,8 @@ jobs: with: toolchain: stable override: true - # - name: Cache dependencies - # uses: Swatinem/rust-cache@v2.2.0 + - name: Cache dependencies + uses: Swatinem/rust-cache@v2.2.0 - name: Run tests in debug uses: actions-rs/cargo@v1 with: @@ -142,8 +141,8 @@ jobs: toolchain: 1.67.0 override: true components: clippy - # - name: Cache dependencies - # uses: Swatinem/rust-cache@v2.2.0 + - name: Cache dependencies + uses: Swatinem/rust-cache@v2.2.0 - name: Run cargo clippy uses: actions-rs/cargo@v1 with: @@ -162,8 +161,8 @@ jobs: toolchain: nightly override: true components: rustfmt - # - name: Cache dependencies - # uses: Swatinem/rust-cache@v2.2.0 + - name: Cache dependencies + uses: Swatinem/rust-cache@v2.2.0 - name: Run cargo fmt # Since we never ran the `build.rs` script in the benchmark directory we are missing one auto-generated import file. # Since we want to trigger (and fail) this action as fast as possible, instead of building the benchmark crate