Skip to content

[FEATURE] Add Clippy CI snippet#25

Merged
prog-time merged 3 commits into
mainfrom
issues-10
Apr 22, 2026
Merged

[FEATURE] Add Clippy CI snippet#25
prog-time merged 3 commits into
mainfrom
issues-10

Conversation

@prog-time
Copy link
Copy Markdown
Owner

Summary

Adds a Clippy CI snippet to the linters category — the canonical linter for Rust (cargo clippy --all-targets --all-features -- -D warnings). Rust was the last major-language gap after Go/Python/Ruby/Java/Swift/Kotlin linters landed in PR #20. Follows the three-layer pattern and uses dtolnay/rust-toolchain@stable with cargo registry + target caching.

Changes

  • issues-10|add clippy CI snippetscripts/shell/linters/clippy.sh, scripts/CI/linters/clippy.yml, CI/linters/clippy.yml
  • issues-10|add BATS tests for clippy — 3 tests (missing Cargo.toml, clean, warning)
  • issues-10|document clippy in README — Snippets table, project structure, Linters section

Test plan

  • bats tests/linters/clippy.bats — 3/3 pass
  • yamllint clean on both new YAML files
  • CI green on this PR

Closes #10

@prog-time prog-time merged commit 7c87dd9 into main Apr 22, 2026
5 checks passed
@prog-time prog-time deleted the issues-10 branch April 22, 2026 18:13
@prog-time prog-time mentioned this pull request Apr 22, 2026
3 tasks
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.

[FEATURE] Add Clippy CI snippet

1 participant