From 1f40c3e48c832e085396417e51adea66e6bf818c Mon Sep 17 00:00:00 2001 From: Amit Banerjee Date: Thu, 6 Oct 2022 22:32:29 +0530 Subject: [PATCH] Uncomment cache steps in jobs --- .github/workflows/rust.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 5c8d562d0..266e306d6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -24,8 +24,8 @@ jobs: os: [ubuntu-18.04, macos-latest, windows-latest] steps: - uses: actions/checkout@v3 - # - name: Cache dependencies - # uses: Swatinem/rust-cache@v2.0.0 + - name: Cache dependencies + uses: Swatinem/rust-cache@v2.0.0 - name: Run cargo check without any default features uses: actions-rs/cargo@v1 with: @@ -48,8 +48,8 @@ jobs: profile: minimal toolchain: stable override: true - # - name: Cache dependencies - # uses: Swatinem/rust-cache@v2.0.0 + - name: Cache dependencies + uses: Swatinem/rust-cache@v2.0.0 - name: Run tests in debug uses: actions-rs/cargo@v1 with: @@ -67,8 +67,8 @@ jobs: toolchain: stable override: true components: clippy - # - name: Cache dependencies - # uses: Swatinem/rust-cache@v2.0.0 + - name: Cache dependencies + uses: Swatinem/rust-cache@v2.0.0 - name: Run cargo clippy uses: actions-rs/cargo@v1 with: @@ -86,7 +86,7 @@ jobs: toolchain: stable override: true components: rustfmt - # - name: Cache dependencies - # uses: Swatinem/rust-cache@v2.0.0 + - name: Cache dependencies + uses: Swatinem/rust-cache@v2.0.0 - name: Run cargo fmt run: cargo fmt --all -- --check