Skip to content

ci: restore fmt + clippy gates and switch rust job back to Linux#342

Merged
obchain merged 2 commits intomainfrom
ci/restore-clippy-fmt-linux
Apr 26, 2026
Merged

ci: restore fmt + clippy gates and switch rust job back to Linux#342
obchain merged 2 commits intomainfrom
ci/restore-clippy-fmt-linux

Conversation

@obchain
Copy link
Copy Markdown
Owner

@obchain obchain commented Apr 26, 2026

Summary

Followup to #319 (clippy lint debt unblocked), #320 (workspace fmt), #322 (Linux submit classifier).

Test plan

  • CI rust job runs fmt + clippy + test + release on ubuntu-latest.
  • CI solidity job unchanged.

obchain added 2 commits April 26, 2026 16:17
Followup to #319 (clippy unblocked), #320 (workspace fmt), #322
(submit classifier Linux-safe).

- Add cargo fmt --all -- --check as the first rust-job step.
- Add cargo clippy --workspace --all-targets --locked -- -D warnings
  before tests, so lint regressions block merge instead of leaking in.
- Switch rust job from macos-latest back to ubuntu-latest. The
  platform-sensitive ECONNREFUSED classifier was fixed by #334
  (substring match -> structured TransportErrorKind::HttpError.status
  check), so the macOS pin is no longer needed. Linux runners are
  faster and cheaper.

Reviewer (blockchain-code-reviewer) confirmed step ordering, cache
locality, action syntax, and permissions are clean.
@obchain obchain merged commit 0873029 into main Apr 26, 2026
4 checks passed
@obchain obchain deleted the ci/restore-clippy-fmt-linux branch April 26, 2026 10:53
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