Commit 1708761
authored
chore(ci): replace archived actions-rs/cargo with bare cargo invocations (#14017)
The actions-rs/ GitHub organization is archived and no longer
maintained. Its SHA-pinned references are still resolvable today, but
the org could be deleted or reclaimed at any point — at which moment
the pinned SHAs would become unreachable and every workflow that
references them would fail to start.
Replace the two actions-rs/cargo steps in reusable-rust-test.yml with
direct `cargo clippy` and `cargo fmt` invocations. The `rust_check`
job already installs the Rust toolchain via the local
./.github/actions/rustup composite (with `save-if: true, key: check`),
which provides clippy and rustfmt components — no additional toolchain
setup is required.
Behavior is unchanged: same cargo subcommand, same args.
- Run Clippy: cargo clippy --workspace --all-targets --tests -- -D warnings
- Run rustfmt: cargo fmt --all -- --check1 parent f83f2f5 commit 1708761
1 file changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 67 | + | |
71 | 68 | | |
72 | 69 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 70 | + | |
77 | 71 | | |
78 | 72 | | |
79 | 73 | | |
| |||
0 commit comments