Commit d024028
ci: make CI genuinely green — rust-ci toolchain pin + fmt/clippy (#57)
## Summary
Make CI genuinely green. The shared rust-ci pin on `main` predates
standards#439, so the SHA-pinned `dtolnay/rust-toolchain` step errors
out before the job runs. This bumps the pin so rust-ci actually runs,
and brings the Rust sources to fmt + clippy(`-D warnings`) clean under
the CI toolchain (stable 1.96).
## Changes
- **rust-ci:** bump `rust-ci-reusable.yml` pin `d135b05` → `8dc2bf0`
(current `standards` HEAD; includes #439 toolchain fix + #441/#442).
- **Rust hygiene:** `cargo fmt` + `clippy --fix`
(`src/codegen/accessibility.rs`, `src/codegen/i18n.rs`) so `cargo fmt
--all -- --check` and `cargo clippy --locked --all-targets -- -D
warnings` pass.
## RSR Quality Checklist
### Required
- [x] Tests pass (`cargo test --locked --all-targets`)
- [x] Code is formatted (`cargo fmt --all -- --check`)
- [x] Linter is clean (`cargo clippy --locked --all-targets -- -D
warnings`)
- [x] No banned language patterns
- [x] SPDX license headers present on modified files
- [x] No secrets, credentials, or `.env` files included
## Testing
Verified locally with the CI toolchain (rustc/clippy/rustfmt 1.96.0):
`cargo fmt --check`, `clippy -D warnings`, `cargo check --locked`,
`cargo test --locked` all pass.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---
_Generated by [Claude
Code](https://claude.ai/code/session_01A6PSzJWpRxtzGDjUCEh7Mx)_
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent a24a2cf commit d024028
3 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
| 359 | + | |
| 360 | + | |
360 | 361 | | |
361 | 362 | | |
362 | 363 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
| 340 | + | |
| 341 | + | |
341 | 342 | | |
342 | 343 | | |
343 | 344 | | |
| |||
0 commit comments