Commit 871a900
ci: add rustfmt --check gate to test suite
CI ran cargo xtask lint + clippy but never checked formatting, so
external PRs could (and did) land cargo-fmt-dirty code while green.
Add a fail-fast `cargo fmt --all -- --check` step before the build,
Linux-only (formatting is platform-independent). Uses the nightly
toolchain already set up; no rustfmt.toml means nightly defaults,
matching the local post-edit fmt hook.
The preceding commit cleared the pre-existing drift so this gate starts
green.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent e61bef8 commit 871a900
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
141 | 152 | | |
142 | 153 | | |
143 | 154 | | |
| |||
0 commit comments