ci: run clippy on all targets (#5636)

This commit is contained in:
Matthias Seitz
2023-11-30 12:39:45 +01:00
committed by GitHub
parent afebbe64b7
commit d93eac2193
2 changed files with 2 additions and 3 deletions

View File

@ -28,7 +28,7 @@ jobs:
with:
cache-on-failure: true
- run:
cargo clippy --bin "${{ matrix.binary }}" --workspace --features "${{ matrix.network }}"
cargo clippy --bin "${{ matrix.binary }}" --workspace --features "${{ matrix.network }}" --lib --tests --benches --examples
env:
RUSTFLAGS: -D warnings

View File

@ -1,12 +1,11 @@
use reth_db::open_db_read_only;
use reth_primitives::{Address, ChainSpecBuilder, B256, U256};
use reth_primitives::{Address, ChainSpecBuilder, B256};
use reth_provider::{
AccountReader, BlockReader, BlockSource, HeaderProvider, ProviderFactory, ReceiptProvider,
StateProvider, TransactionsProvider,
};
use reth_rpc_types::{Filter, FilteredParams};
use reth_rpc_types_compat::log::from_primitive_log;
use std::path::Path;
// Providers are zero cost abstractions on top of an opened MDBX Transaction