Commit 78b800a
ci: fix macOS rustup cache corruption in install-rust action
Switch back to `rustup toolchain install` (the rustup-documented way to
install the toolchain pinned by rust-toolchain.toml across rustup 1.28+
versions) and disable `cache-bin` on macOS.
Caching ~/.cargo/bin caused macOS jobs to fail with
`error: unexpected argument 'fmt' found / Usage: rustup-init[EXE]`:
rust-cache was restoring a stale cargo proxy from a runner with a
different rustup version, overwriting the proxy installed in this run
and leaving cargo behaving like rustup-init.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 4eac647 commit 78b800a
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
0 commit comments