Skip to content

🤖 ci: add rustfmt and clippy lint gate - #57

Merged
dancergraham merged 1 commit into
mainfrom
ci/rust-lint-gate
Nov 16, 2026
Merged

dancergraham merged 1 commit into
mainfrom
ci/rust-lint-gate

Conversation

@dancergraham

Copy link
Copy Markdown
Owner

Adds a lint job that runs:

  • cargo fmt --all --check
  • cargo clippy --all-targets -- -D warnings

The release job now depends on lint. setup-python is included because pyo3's build script needs an interpreter even for clippy.

Verified locally: both commands pass on current main (exit 0) with cargo 1.100.0. The workflow YAML parses. I've added no source changes. actionlint wasn't run. This PR's CI run checks the job itself.

Interaction with the Python 3.15 PR: that PR bumps pyo3 to 0.30. Any deprecations the bump introduces would become fatal under -D warnings, so I'm running clippy on that branch too before pushing it.

🤖 Generated with Claude Code

Adds a lint job running `cargo fmt --all --check` and
`cargo clippy --all-targets -- -D warnings`, and makes the release job
depend on it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dancergraham
dancergraham marked this pull request as ready for review November 16, 2026 18:58
@dancergraham
dancergraham merged commit e7303cb into main Nov 16, 2026
35 of 36 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.

1 participant