Skip to content

Commit

Permalink
ci: run clippy on all targets (#5636)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Nov 30, 2023
1 parent afebbe6 commit d93eac2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions examples/db-access.rs
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d93eac2

Please sign in to comment.