mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
ci: remove check-cfg job (#8106)
This commit is contained in:
21
.github/workflows/lint.yml
vendored
21
.github/workflows/lint.yml
vendored
@ -27,8 +27,7 @@ jobs:
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
cache-on-failure: true
|
||||
- run:
|
||||
cargo clippy --bin "${{ matrix.binary }}" --workspace --features "${{ matrix.network }} asm-keccak jemalloc jemalloc-prof min-error-logs min-warn-logs min-info-logs min-debug-logs min-trace-logs"
|
||||
- run: cargo clippy --bin "${{ matrix.binary }}" --workspace --features "${{ matrix.network }} asm-keccak jemalloc jemalloc-prof min-error-logs min-warn-logs min-info-logs min-debug-logs min-trace-logs"
|
||||
env:
|
||||
RUSTFLAGS: -D warnings
|
||||
|
||||
@ -95,9 +94,7 @@ jobs:
|
||||
env:
|
||||
# Keep in sync with ./book.yml:jobs.build
|
||||
# This should only add `-D warnings`
|
||||
RUSTDOCFLAGS:
|
||||
--cfg docsrs --show-type-layout --generate-link-to-definition --enable-index-page
|
||||
-Zunstable-options -D warnings
|
||||
RUSTDOCFLAGS: --cfg docsrs --show-type-layout --generate-link-to-definition --enable-index-page -Zunstable-options -D warnings
|
||||
|
||||
fmt:
|
||||
name: fmt
|
||||
@ -126,23 +123,11 @@ jobs:
|
||||
with:
|
||||
cmd: jq empty etc/grafana/dashboards/overview.json
|
||||
|
||||
check-cfg:
|
||||
name: check-cfg
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
cache-on-failure: true
|
||||
- run: cargo +nightly -Zcheck-cfg c
|
||||
|
||||
lint-success:
|
||||
name: lint success
|
||||
runs-on: ubuntu-latest
|
||||
if: always()
|
||||
needs: [clippy-binaries, clippy, crate-checks, docs, fmt, codespell, grafana, check-cfg]
|
||||
needs: [clippy-binaries, clippy, crate-checks, docs, fmt, codespell, grafana]
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- name: Decide whether the needed jobs succeeded or failed
|
||||
|
||||
@ -48,7 +48,7 @@ macro_rules! fuzz_type_and_name {
|
||||
};
|
||||
}
|
||||
|
||||
#[cfg(any(test, feature = "bench"))]
|
||||
#[cfg(test)]
|
||||
pub mod fuzz_rlp {
|
||||
use crate::roundtrip_encoding;
|
||||
use alloy_rlp::{RlpDecodableWrapper, RlpEncodableWrapper};
|
||||
|
||||
@ -4,7 +4,6 @@ mod multiplex;
|
||||
mod requests;
|
||||
mod session;
|
||||
mod startup;
|
||||
#[cfg(not(feature = "optimism"))]
|
||||
mod txgossip;
|
||||
|
||||
fn main() {}
|
||||
|
||||
Reference in New Issue
Block a user