Skip to content

feat(advanced): Provider trait over reth-db #338

feat(advanced): Provider trait over reth-db

feat(advanced): Provider trait over reth-db #338

Workflow file for this run

# Runs `clippy` and `cargo fmt` checks.
name: Lint
on:
push:
branches: [main]
pull_request:
env:
CARGO_TERM_COLOR: always
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
clippy:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@clippy
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo +nightly clippy --examples --all-features
env:
RUSTFLAGS: -Dwarnings
fmt:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- run: cargo +nightly fmt --all --check