ci(ruview-swarm): install clippy on the pinned 1.89 toolchain

The clippy job failed with "cargo-clippy is not installed for the
toolchain '1.89'". v2/rust-toolchain.toml pins channel "1.89" (profile
"minimal", no clippy); dtolnay@stable installed clippy on the floating
"stable" toolchain, but the override makes cargo use the separate "1.89"
toolchain in working-directory v2. Pin the toolchain input to "1.89" so
clippy lands on the toolchain cargo actually runs.

(The real clippy lint it then catches — manual_is_multiple_of — was fixed
in 29e698a05.)

Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
ruv
2026-05-31 10:51:04 -04:00
parent 810ee656de
commit e84aef223c
+6
View File
@@ -60,8 +60,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# v2/rust-toolchain.toml pins channel "1.89" with profile "minimal" (no
# clippy). dtolnay@stable installs clippy on the floating "stable"
# toolchain, but the override makes cargo use the separate "1.89"
# toolchain — so `cargo clippy` errors "cargo-clippy is not installed for
# 1.89". Install clippy on the pinned toolchain that cargo actually uses.
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.89"
components: clippy
- name: Cache cargo
uses: actions/cache@v4