Skip to content

ci: lint examples and tests too - #89

Merged
digizeph merged 1 commit into
mainfrom
ci/clippy-all-targets
Oct 24, 2026
Merged

digizeph merged 1 commit into
mainfrom
ci/clippy-all-targets

Conversation

@digizeph

Copy link
Copy Markdown
Member

Summary

cargo clippy --all-targets now passes with all three feature sets (all, default, none), so the workflow can cover examples and test targets instead of only the library and binaries. The four findings that blocked this were fixed in f87c241.

Changes

  • All three clippy steps gain --all-targets.

Testing

  • cargo clippy --all-features --all-targets -- -D warnings
  • cargo clippy --no-default-features --all-targets -- -D warnings
  • cargo clippy --all-targets -- -D warnings

`cargo clippy --all-targets` passes with all three feature sets, so the
workflow can cover examples and test targets instead of only the library and
binaries. The four findings that blocked this were fixed in f87c241.
Copilot AI balanced review requested due to automatic review settings October 24, 2026 13:03

Copilot AI 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.

🟢 Approval recommended

The changes consistently broaden lint coverage without altering existing checks, and no blocking issues were identified.

No open issues 🎉

What changed in this PR

Expands CI lint coverage to include examples and test targets across all three existing feature configurations.

Changes:

  • Adds --all-targets to the all-features, no-default-features, and default-features Clippy commands.
  • Preserves existing feature selection and strict warning enforcement (-D warnings).
File Description
.github/​workflows/​rust.yml Extends all three Clippy steps to lint all targets.

Review effort: Balanced

@digizeph
digizeph merged commit ac4a1ab into main Oct 24, 2026
8 checks passed
@digizeph
digizeph deleted the ci/clippy-all-targets branch October 24, 2026 13: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.

2 participants