Commit 9fe0d8f
fix(rust-ci): pass explicit
## What
Add an explicit `toolchain: stable` input to all four
`dtolnay/rust-toolchain` steps in
`.github/workflows/rust-ci-reusable.yml` (the `check`, `test`, `audit`,
and `coverage` jobs).
## Why
The reusable bundle pins `dtolnay/rust-toolchain` by commit SHA
(`@67ef31d5…`). That action infers the toolchain from its `@`-ref (e.g.
`@stable` → `stable`), but a **SHA ref carries no version**, so the
action's internal "parse toolchain version" step receives an empty
`toolchain` and aborts:
```
'toolchain' is a required input
Process completed with exit code 1
```
This is the estate-wide **`rust-ci / Cargo check + clippy + fmt`** red
that appears on every PR across the ~28 repos consuming this reusable
workflow. Confirmed live against `iseriser` run `28287559313` (job
*Cargo check + clippy + fmt*), whose failed step logged the env line
`toolchain:` (empty) immediately before the error.
## Fix
Each step now passes `toolchain: stable`, matching the existing `#
stable` pin comment. The `check` job keeps its `components: clippy,
rustfmt`; the other three gain a `with:` block. No behavioural change
beyond making the toolchain explicit — which is exactly what the SHA pin
requires.
## Propagation
Single-source fix: consumers pin this reusable by SHA and inherit the
fix on the next standards-reusable pin refresh (the existing "refresh
standards reusable pins to current HEAD" flow). No consumer-side edits
are part of this PR.
## Verification
- `python3 -c "import yaml; yaml.safe_load(...)"` → YAML parses.
- All four `dtolnay/rust-toolchain` steps now carry `toolchain: stable`
(grep-confirmed).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01A6PSzJWpRxtzGDjUCEh7Mx
---
_Generated by [Claude
Code](https://claude.ai/code/session_01A6PSzJWpRxtzGDjUCEh7Mx)_
Co-authored-by: Claude <noreply@anthropic.com>toolchain: stable to SHA-pinned dtolnay action (#439)1 parent bf32531 commit 9fe0d8f
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
152 | 157 | | |
153 | 158 | | |
| 159 | + | |
154 | 160 | | |
155 | 161 | | |
156 | 162 | | |
| |||
190 | 196 | | |
191 | 197 | | |
192 | 198 | | |
| 199 | + | |
193 | 200 | | |
| 201 | + | |
| 202 | + | |
194 | 203 | | |
195 | 204 | | |
196 | 205 | | |
| |||
230 | 239 | | |
231 | 240 | | |
232 | 241 | | |
| 242 | + | |
233 | 243 | | |
| 244 | + | |
| 245 | + | |
234 | 246 | | |
235 | 247 | | |
236 | 248 | | |
| |||
260 | 272 | | |
261 | 273 | | |
262 | 274 | | |
| 275 | + | |
263 | 276 | | |
| 277 | + | |
| 278 | + | |
264 | 279 | | |
265 | 280 | | |
266 | 281 | | |
| |||
0 commit comments