Skip to content

Commit e84aef2

Browse files
committed
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 29e698a.) Co-Authored-By: claude-flow <ruv@ruv.net>
1 parent 810ee65 commit e84aef2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ruview-swarm-ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,14 @@ jobs:
6060
runs-on: ubuntu-latest
6161
steps:
6262
- uses: actions/checkout@v4
63+
# v2/rust-toolchain.toml pins channel "1.89" with profile "minimal" (no
64+
# clippy). dtolnay@stable installs clippy on the floating "stable"
65+
# toolchain, but the override makes cargo use the separate "1.89"
66+
# toolchain — so `cargo clippy` errors "cargo-clippy is not installed for
67+
# 1.89". Install clippy on the pinned toolchain that cargo actually uses.
6368
- uses: dtolnay/rust-toolchain@stable
6469
with:
70+
toolchain: "1.89"
6571
components: clippy
6672
- name: Cache cargo
6773
uses: actions/cache@v4

0 commit comments

Comments
 (0)