-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check Format GitHub Action is failing #1314
Comments
@dkwon17 Since we're aiming to release DWO 0.31.0 today, what do you think about:
|
Fix devfile#1314 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. Signed-off-by: Andrew Obuchowicz <[email protected]>
Part of devfile#1314 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. Signed-off-by: Andrew Obuchowicz <[email protected]>
Part of #1314 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. Signed-off-by: Andrew Obuchowicz <[email protected]>
Re-opening this issue so we can remember to proceed with the more permanent solution of upgrading the repo to go 1.22 throughout the repo. |
Never mind, I decided to make a separate issue for this: #1316 |
Part of devfile#1314 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. Signed-off-by: Andrew Obuchowicz <[email protected]>
The GitHub Action's that check the format of the repo's go code are currently failing with:
I believe this is because we use an outdated Go version throughout the repo. I quickly tried to install goimports@latest in an "empty workspace" in Che:
Originally, we kept this version of Go because Go 1.22 had not yet been released for Fedora 40, and I didn't want to break the local workflows of developers using Fedora.
Two solutions that come to mind:
The text was updated successfully, but these errors were encountered: