ci: adopt install-cargo-tool fallback and pinned taplo-cli from windows-drivers-rs#61
Merged
wmmc88 merged 2 commits intomicrosoft:mainfrom Apr 3, 2026
Merged
Conversation
Replace all remaining taiki-e/install-action@v2 usages with the new install-cargo-tool composite action from windows-drivers-rs (PR #625). This adds automatic cargo install fallback when install-action silently fails on windows-11-arm runners under WoW64 arm64 emulation. For jobs that did not already sparse-checkout shared actions from windows-drivers-rs (machete in lint.yaml, taplo-fmt in code-formatting-check.yaml), add the checkout and copy steps.
The install-cargo-tool action assumes crate name == binary name, which breaks for taplo-cli (binary is taplo, not taplo-cli). Switch to cache-cargo-install-action with the same pinned revision (b673b44d) used by windows-drivers-rs, pending a taplo release with field-level keys matching support.
gurry
approved these changes
Apr 1, 2026
Alan632
approved these changes
Apr 3, 2026
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.
Adopts CI improvements from windows-drivers-rs:
Replaces
taiki-e/install-action@v2forcargo-make(inbuild.yaml) andcargo-machete(inlint.yaml) with theinstall-cargo-toolcomposite action from ci: add install-cargo-tool action with cargo install fallback windows-drivers-rs#625. This adds automaticcargo installfallback wheninstall-actionsilently fails onwindows-11-armrunners under WoW64 arm64 emulation (see [windows-11-arm] Composite action bash steps intermittently produce zero output and exit 0 actions/partner-runner-images#169). For jobs that didn't already sparse-checkout shared actions (macheteinlint.yaml), adds the checkout and copy steps.Switches
taplo-cliinstallation incode-formatting-check.yamltotaiki-e/cache-cargo-install-action@v3with the same pinned git revision (b673b44d) used by windows-drivers-rs.