-
Notifications
You must be signed in to change notification settings - Fork 930
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
github: update CI to run most tests with Go 1.21 with build/compat test with 1.20 #12822
Conversation
1e5f73c
to
75b0b94
Compare
Yep that makes sense. Can you include in this PR please. |
@simondeziel is go 1.22 available in GH yet? As its just been released and we should use that as we plan to use it for the next LTS release https://go.dev/doc/go1.22 |
@tomponline yes Go 1.22 is available but it didn't fare well, Go segfaults during Update: the same crash happened on a retry. |
7c5d96c
to
d83c3df
Compare
@tomponline I propose we go with 1.21 for now and revisit 1.22 in a few days or maybe when they publish a point release. |
Testing locally with go
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like the workflow is broken though
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
This was risky because if another snap (like mdl) moved to a core20 base, we'd be removing core20 just to download it again. Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
This is to reclaim some space. Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
…et@v0.4.1" This reverts commit 218af92. Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
CI is all green now. |
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
@simondeziel please can you backport appropriate changes to 5.0-edge too so we can keep these GH workflows in sync as best as possible (taking into account the min go versions are different). Thanks! |
@tomponline I had to re-introduce the pining of
github.com/mdlayher/socket@v0.4.1
in order to havego mod tidy -go=1.20
work when using Go 1.20 (see theCheck compatibility with min Go version (${{ matrix.go }})
test step).In #12794 (comment) you confirmed you ran into this issue with Go 1.21 (like I do) and that's further confirmed by upstream claiming this module to require 1.21+: https://github.com/mdlayher/socket/blob/main/CHANGELOG.md#v050
That said, since we have now bumped the requirement for Go to be 1.21+, maybe we should actually drop compat with 1.20? Happy to do so here or in a subsequent PR.