fix(ci): unbreak Anchor Build & Lint (prebuilt anchor-cli + clippy/fmt) - #2
Merged
Conversation
The 'Install Anchor CLI' step compiled anchor-cli from source, which pulls hidapi → libudev-dev, no longer present on ubuntu-latest runner images. Every CI run on main failed there, so fmt/clippy/anchor-build never ran. - Install the official prebuilt v0.32.1 Linux binary instead (~2 s, no system deps, no 15-min compile) - Apply cargo fmt (never enforced until now) - Fix the 3 clippy -D warnings errors: floating doc comment, unnecessary cast, manual range contains Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
OxToF
added a commit
that referenced
this pull request
Jul 20, 2026
…mt (#2) The 'Install Anchor CLI' step compiled anchor-cli from source, which pulls hidapi → libudev-dev, no longer present on ubuntu-latest runner images. Every CI run on main failed there, so fmt/clippy/anchor-build never ran. - Install the official prebuilt v0.32.1 Linux binary instead (~2 s, no system deps, no 15-min compile) - Apply cargo fmt (never enforced until now) - Fix the 3 clippy -D warnings errors: floating doc comment, unnecessary cast, manual range contains Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problème
Le job Anchor Build & Lint échoue sur tous les push
main(0 run vert sur les 100 derniers) au step Install Anchor CLI :cargo install anchor-clicompile depuis les sources et tirehidapi, dont le build script exigelibudev-dev— retiré des images runnerubuntu-latestmi-2026.Conséquence :
cargo fmt --check,clippy -D warningsetanchor buildn'ont jamais tourné en CI.Fix
anchor-0.32.1-x86_64-unknown-linux-gnu(~2 s, aucune dépendance système) au lieu de la compilation source (~15 min).cargo fmtappliqué (jamais enforcé jusqu'ici — diffs purement cosmétiques).clippy -D warningscorrigées : doc comment flottant (lib.rs:78), cast inutile (amm.rs:72),manual_range_contains(lib.rs:2151). Aucun changement de comportement.🤖 Generated with Claude Code