mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
ci: use Swatinem/rust-cache@v2 everywhere (#2862)
This commit is contained in:
2
.github/workflows/bench.yml
vendored
2
.github/workflows/bench.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
||||
with:
|
||||
ref: main
|
||||
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
cache-on-failure: true
|
||||
|
||||
|
||||
6
.github/workflows/integration.yml
vendored
6
.github/workflows/integration.yml
vendored
@ -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 \
|
||||
|
||||
2
.github/workflows/unit.yml
vendored
2
.github/workflows/unit.yml
vendored
@ -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
|
||||
|
||||
Reference in New Issue
Block a user