Temporarily disable CI for Windows with x64-mingw-ucrt
#1207
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.
Motivation
Recent changes in Bundler are causing the
x64-mingw-ucrt
platform to be removed, either when running running in Dependabot, or runningbundle update --bundler
locally. This breaks CI for Windows on Ruby 3.1 and newer.Every Dependabot PR currently fails because of this, which is quite disruptive.
(I initially thought this was a Dependabot issue, so had opened dependabot/dependabot-core#8444).
I've tried various things to solve it, but wasn't able to yet yet. Since this a recent Bundler change, which will likely impact others too, I'm inclined to hold off doing more in case the behaviour gets reverted or altered. We can revisit this in a week or two.
Implementation
This PR disables CI for Windows where
x64-mingw-ucrt
is in use, and updates theGemfile.lock
as generated bybundle update --bundler
.Although disabling Windows does introduce some small risk, very little of Ruby LSP's behaviour is platform-dependent.
Automated Tests
n/a
Manual Tests
n/a