Skip to content

ci: add workspace-wide cargo check and clippy jobs#342

Merged
ameya-deshmukh merged 6 commits intoseismicfrom
ameya/expand-ci-coverage
Mar 24, 2026
Merged

ci: add workspace-wide cargo check and clippy jobs#342
ameya-deshmukh merged 6 commits intoseismicfrom
ameya/expand-ci-coverage

Conversation

@ameya-deshmukh
Copy link
Contributor

@ameya-deshmukh ameya-deshmukh commented Mar 19, 2026

Summary

  • Replace the commented-out cargo build step with cargo check --workspace for fast (~30s) workspace-wide compilation validation
  • Provides early feedback before slower test jobs finish
  • Future improvement: upgrade to cargo hack check --workspace (like upstream reth) once the pre-existing SerdeBincodeCompat trait bound issue in reth-ethereum-primitives is fixed

Test plan

  • Verify the new cargo check --workspace step passes in CI

🤖 Generated with Claude Code

Replace the commented-out `cargo build` step with `cargo check --workspace`
for faster compilation validation. Add a new `clippy-workspace` job that
runs clippy across the entire workspace to catch lint issues early.
@ameya-deshmukh ameya-deshmukh requested a review from cdrappi as a code owner March 19, 2026 18:59
@github-actions
Copy link
Contributor

github-actions bot commented Mar 19, 2026

Replaces commented-out cargo build with workspace-wide compilation check in CI.

LGTM

The workspace-wide clippy job fails due to pre-existing warnings in
upstream crates (reth-trie-common, reth-trie-db). Remove it for now;
keep the cargo check --workspace step which is the primary value add.
Use cargo hack check --workspace instead of cargo check --workspace.
cargo hack checks each crate independently, catching issues where
shared deps mask per-crate compilation errors. Matches upstream reth.
cargo hack check exposes a pre-existing SerdeBincodeCompat trait bound
issue in reth-ethereum-primitives. Revert to cargo check --workspace
until the underlying issue is investigated.
@ameya-deshmukh ameya-deshmukh merged commit 0b936c3 into seismic Mar 24, 2026
8 checks passed
@ameya-deshmukh ameya-deshmukh deleted the ameya/expand-ci-coverage branch March 24, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant