ci: use Swatinem/rust-cache@v2 everywhere (#2862)

This commit is contained in:
Bjerg
2023-05-26 16:01:46 +02:00
committed by GitHub
parent 0caf051869
commit ea5e877f35
3 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ jobs:
with:
ref: main
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true

View File

@ -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 \

View File

@ -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