mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix/ci: check individual crates in ci, fix features (#6472)
This commit is contained in:
17
.github/workflows/lint.yml
vendored
17
.github/workflows/lint.yml
vendored
@ -46,11 +46,22 @@ jobs:
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
cache-on-failure: true
|
||||
- run:
|
||||
cargo clippy --workspace --lib --examples --tests --benches --all-features
|
||||
- run: cargo clippy --workspace --lib --examples --tests --benches --all-features
|
||||
env:
|
||||
RUSTFLAGS: -D warnings
|
||||
|
||||
crate-checks:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: taiki-e/install-action@cargo-hack
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
cache-on-failure: true
|
||||
- run: cargo hack check
|
||||
|
||||
msrv:
|
||||
name: MSRV / ${{ matrix.network }}
|
||||
runs-on: ubuntu-latest
|
||||
@ -120,7 +131,7 @@ jobs:
|
||||
name: lint success
|
||||
runs-on: ubuntu-latest
|
||||
if: always()
|
||||
needs: [clippy-binaries, clippy, docs, fmt, grafana]
|
||||
needs: [clippy-binaries, clippy, crate-checks, docs, fmt, grafana]
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- name: Decide whether the needed jobs succeeded or failed
|
||||
|
||||
Reference in New Issue
Block a user