Skip to content

ci: split lint checks and slim clippy - #2771

Merged
blackmwk merged 1 commit into
apache:mainfrom
abnobdoss:ci/split-lint-slim-clippy
Jul 6, 2026
Merged

blackmwk merged 1 commit into
apache:mainfrom
abnobdoss:ci/split-lint-slim-clippy

Conversation

@abnobdoss

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

What changes are included in this PR?

Splits the old check job (ubuntu + macos) into two ubuntu jobs:

  • lint: the non-compiling checks (license header, toml format, cargo fmt, Cargo.lock, cargo-machete, typos). The standalone Typos workflow is folded in, and taplo and cargo-machete come as prebuilt binaries.
  • clippy: make check-clippy only.

As suggested in #2753, the heavier jobs now have needs: lint, so a fmt or typo mistake fails fast without spinning up builds. The tradeoff is that a lint failure blocks all downstream jobs.

This also removes the macOS clippy run. Nothing in the repo is gated on target_os, so clippy output is identical across platforms, and macOS compile coverage stays in the build jobs. The macOS check job was CI's slowest at 10 to 12 minutes.

Are these changes tested?

CI-only change, exercised by this PR's own CI run.

@blackmwk blackmwk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @abnobdoss for this pr!

@blackmwk
blackmwk merged commit 22e80a6 into apache:main Jul 6, 2026
20 checks passed
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.

2 participants