fix: temporarily pin goimports in GH Actions to v0.24.0 #1315
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.
What does this PR do?
The latest version of goimports (v0.25.0) requires go >= 1.22.0.
Since we are about to do the upstream release of DWO 0.31.0, we are temporarily pinning goimports to the last working version (v0.24.0).
After the 0.31.0 release of DWO, we can safely upgrade the entire repo to go 1.22.0, and use the latest version of goimports again.
What issues does this PR fix or reference?
Part of #1314 (initial, temporary fix)
Is it tested? How?
CI checks should pass (hopefully, if they run off my fork).
I tested installing goimports@v0.25.0 and goimports@v0.24.0 in Che to see the required version of go for goimports v0.25.0:
Since the formating checks that install the latest version of goimports were succeeding last week , and goimports v0.25.0 was just released yesterday, I'm hopeful that this PR should work as expected to temporarily resolve #1314
PR Checklist
/test v8-devworkspace-operator-e2e, v8-che-happy-pathto trigger)v8-devworkspace-operator-e2e: DevWorkspace e2e testv8-che-happy-path: Happy path for verification integration with Che