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
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
cache-on-failure: true
|
cache-on-failure: true
|
||||||
- run:
|
- 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"
|
||||||
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:
|
env:
|
||||||
RUSTFLAGS: -D warnings
|
RUSTFLAGS: -D warnings
|
||||||
|
|
||||||
@ -95,9 +94,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
# Keep in sync with ./book.yml:jobs.build
|
# Keep in sync with ./book.yml:jobs.build
|
||||||
# This should only add `-D warnings`
|
# This should only add `-D warnings`
|
||||||
RUSTDOCFLAGS:
|
RUSTDOCFLAGS: --cfg docsrs --show-type-layout --generate-link-to-definition --enable-index-page -Zunstable-options -D warnings
|
||||||
--cfg docsrs --show-type-layout --generate-link-to-definition --enable-index-page
|
|
||||||
-Zunstable-options -D warnings
|
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
name: fmt
|
name: fmt
|
||||||
@ -126,23 +123,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
cmd: jq empty etc/grafana/dashboards/overview.json
|
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:
|
lint-success:
|
||||||
name: lint success
|
name: lint success
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: always()
|
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
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- name: Decide whether the needed jobs succeeded or failed
|
- 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 {
|
pub mod fuzz_rlp {
|
||||||
use crate::roundtrip_encoding;
|
use crate::roundtrip_encoding;
|
||||||
use alloy_rlp::{RlpDecodableWrapper, RlpEncodableWrapper};
|
use alloy_rlp::{RlpDecodableWrapper, RlpEncodableWrapper};
|
||||||
|
|||||||
@ -4,7 +4,6 @@ mod multiplex;
|
|||||||
mod requests;
|
mod requests;
|
||||||
mod session;
|
mod session;
|
||||||
mod startup;
|
mod startup;
|
||||||
#[cfg(not(feature = "optimism"))]
|
|
||||||
mod txgossip;
|
mod txgossip;
|
||||||
|
|
||||||
fn main() {}
|
fn main() {}
|
||||||
|
|||||||
Reference in New Issue
Block a user