CI: run clippy on all targets, warnings only #277
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!277
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-277"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@sombraSoft on GitHub · 2026-11-23 22:17 UTC · original
sombraSoft:ci/clippy→main· +31 −1 · 2 files · 2 commits · openAdds a clippy job to CI that only warns. It runs
cargo clippy --workspace --all-targetson every push and pull request. Its warnings are listed in the job's log and never fail it, because the tree is not lint-clean (clippy 0.1.100 reports about 630 warnings) and a failing lint must not block merges.Part of #265
What is in it
.github/workflows/ci.yml: aclippyjob onwindows-2025(stable + clippy,Swatinem/rust-cache@v2saving only onmain) runningcargo clippy --workspace --all-targets. The header comment lists it. No lint config and no source change.AGENTS.md: the clippy command is listed next to the build and test commands, with one rule: fix the warnings clippy reports in the lines you wrote or changed, and leave the existing ones alone (Scope: no drive-by fixes). Since the CI job only warns, this is what keeps new warnings out.CI time
Tested
main(9ab7d76), RTX 3060 Ti (driver 621.24), Ryzen 9 5900X, Windows 11, rustc 1.97.1, debug:scripts/test.ps1→ 651 passed, 0 failed, 40 ignored; SKIPPED: 2 (no wave64). This PR changes only CI config, so the compiled code is the same.Clippy (Windows)passed in 72 s and listed the warnings (xcllib: 417, lib test: 620 incl. duplicates);Build and testpassed: https://github.com/sombraSoft/xcl/actions/runs/45282658244Regression run
crates/xcl/srcchange.Not tested
AI use
@DavidM1911 on GitHub · 2026-11-25 15:03 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.