From 46297f07728f51fc585d9466b80e010614479d9c Mon Sep 17 00:00:00 2001 From: Quantum Explorer Date: Wed, 27 Sep 2023 14:37:43 +0700 Subject: [PATCH] readded cache --- .github/workflows/grovedb.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/grovedb.yml b/.github/workflows/grovedb.yml index 0a8ded9d..118beafb 100644 --- a/.github/workflows/grovedb.yml +++ b/.github/workflows/grovedb.yml @@ -25,10 +25,10 @@ jobs: with: toolchain: stable -# - name: Enable Rust cache -# uses: Swatinem/rust-cache@v2 -# with: -# cache-on-failure: "false" + - name: Enable Rust cache + uses: Swatinem/rust-cache@v2 + with: + cache-on-failure: "false" - run: cargo test --workspace --all-features @@ -52,10 +52,10 @@ jobs: default: true components: clippy -# - name: Enable Rust cache -# uses: Swatinem/rust-cache@v2 -# with: -# cache-on-failure: "false" + - name: Enable Rust cache + uses: Swatinem/rust-cache@v2 + with: + cache-on-failure: "false" - uses: actions-rs/clippy-check@v1 with: @@ -80,10 +80,10 @@ jobs: default: true components: rustfmt -# - name: Enable Rust cache -# uses: Swatinem/rust-cache@v2 -# with: -# cache-on-failure: "false" + - name: Enable Rust cache + uses: Swatinem/rust-cache@v2 + with: + cache-on-failure: "false" - run: exit `cargo +nightly fmt --check | wc -l` @@ -104,10 +104,10 @@ jobs: toolchain: stable default: true -# - name: Enable Rust cache -# uses: Swatinem/rust-cache@v2 -# with: -# cache-on-failure: "false" + - name: Enable Rust cache + uses: Swatinem/rust-cache@v2 + with: + cache-on-failure: "false" - run: cargo check