Skip to content

Upgrade to go 1.24 and test with go 1.26#515

Merged
Luap99 merged 5 commits intocoreos:mainfrom
Luap99:ci
Mar 13, 2026
Merged

Upgrade to go 1.24 and test with go 1.26#515
Luap99 merged 5 commits intocoreos:mainfrom
Luap99:ci

Conversation

@Luap99
Copy link
Collaborator

@Luap99 Luap99 commented Mar 13, 2026

see commits

Copy link
Collaborator

@kolyshkin kolyshkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a single nit, otherwise lgtm

- uses: golangci/golangci-lint-action@v9
with:
version: v2.7
version: v2.11.3
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I'd skip the patch version (merely 2.11 which means "latest 2.11.x.")

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure I guess with how rarely we will update it and how often they publish new minor versions I guess it makes no practical difference but yeah no reason to force a specific patch version here. Fixed.

Luap99 added 5 commits March 13, 2026 19:40
The older version does not support go 1.26 but the workflow installs go
1.26 as it ask for the stable go version. Therefore CI fails currently.
Fix this by updating golangci-lint to the latest version which does
support go 1.26.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
It is stable now so we should test everything works

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Switches one user to strings.Builder instead of appending strings.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Take advantage of go 1.24.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
@Luap99 Luap99 merged commit 9245468 into coreos:main Mar 13, 2026
36 of 37 checks passed
@Luap99 Luap99 deleted the ci branch March 13, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants