ci: add MSRV lint job (#5495)

This commit is contained in:
DaniPopes
2023-11-20 13:28:45 +01:00
committed by GitHub
parent bfa2110191
commit e6040e8f23
3 changed files with 31 additions and 1 deletions

View File

@ -32,6 +32,29 @@ jobs:
env:
RUSTFLAGS: -D warnings
msrv:
name: MSRV / ${{ matrix.network }}
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
include:
- binary: reth
network: ethereum
- binary: op-reth
network: optimism
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.70" # MSRV
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo build --bin "${{ matrix.binary }}" --workspace --features "${{ matrix.network }}"
env:
RUSTFLAGS: -D warnings
docs:
name: docs
runs-on: ubuntu-latest