From ea5e877f35f00271fd2038989500623ddbaedad2 Mon Sep 17 00:00:00 2001 From: Bjerg Date: Fri, 26 May 2023 16:01:46 +0200 Subject: [PATCH] ci: use `Swatinem/rust-cache@v2` everywhere (#2862) --- .github/workflows/bench.yml | 2 +- .github/workflows/integration.yml | 6 +++--- .github/workflows/unit.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 08bee0d8e..32464cbbe 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -24,7 +24,7 @@ jobs: with: ref: main - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 with: cache-on-failure: true diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index fcbfb5c80..3646fcab5 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -73,7 +73,7 @@ jobs: RUST_LOG: info,sync=error steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install toolchain uses: actions-rs/toolchain@v1 @@ -81,11 +81,11 @@ jobs: toolchain: stable profile: minimal - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 with: cache-on-failure: true - - name: Run Sync (debug) + - name: Run sync (${{ matrix.profile }}) run: | cargo run --profile ${{ matrix.profile }} \ --bin reth -- node \ diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 9b6038301..7b8ecbdfd 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -74,7 +74,7 @@ jobs: toolchain: stable profile: minimal override: true - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 with: cache-on-failure: true - name: Install latest nextest release