fix(ci): skip cargo-nextest install for cross-compile-only test jobs - #110
Merged
Merged
Conversation
The aarch64-pc-windows-msvc cross-compile job has no precompiled cargo-nextest binary available, so moonrepo/setup-rust falls back to building it from source via 'cargo install cargo-nextest' without --locked, which nextest's install guard deliberately rejects. That job never runs nextest anyway (cross-compile jobs only run 'cargo build'), so skip the bin install entirely when matrix.cross is set.
bug-ops
enabled auto-merge (squash)
August 12, 2026 20:31
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.
Summary
Test (windows-latest / aarch64-pc-windows-msvc)job (https://github.com/bug-ops/deps-lsp/actions/runs/31634514455/job/94246948361) fails deterministically:cargo-nextesthas no precompiled binary foraarch64-pc-windows-msvc, somoonrepo/setup-rust@v1'sbins: cargo-nextestfalls back tocargo install cargo-nextestwithout--locked, which nextest's build script rejects by design (Nextest does not support being installed without --locked)matrix.cross: true) and never runscargo nextest runin the first place (if: ${{ !matrix.cross }}gates the test step), so it doesn't need nextest installed at allcargo-nextestbin install when!matrix.cross, mirroring the existingmatrix.target && ... || ''conditional idiom already used elsewhere in this workflowTest plan
fy lint .github/workflows/ci.yml— 0 errors (pre-existing style-only notices unrelated to this change)Test (windows-latest / aarch64-pc-windows-msvc)