Skip to content

[1.2] Test/build using supported Go version#5112

Merged
kolyshkin merged 2 commits intoopencontainers:release-1.2from
kolyshkin:1.2-go125-126
Feb 12, 2026
Merged

[1.2] Test/build using supported Go version#5112
kolyshkin merged 2 commits intoopencontainers:release-1.2from
kolyshkin:1.2-go125-126

Conversation

@kolyshkin
Copy link
Copy Markdown
Contributor

@kolyshkin kolyshkin commented Feb 10, 2026

In addition to testing with Go 1.22 (the oldest supported version in this branch, let's switch to using the supported Go versions (1.25 and 1.26) for CI, and using oldest supported Go version (1.25) for the official build.

This should fix the CI failure (from a check added in #4998).

Also, bump bats-action (as the older one fails on ARM).

These are not backports because it's easier to patch than backport for such an old branch, and I want to minimize bumps.

In addition to testing with Go 1.22 (the oldest supported version in
this branch, let's switch to using the supported Go versions (1.25 and
1.26) for CI, and using oldest supported Go version (1.25) for the
official build.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Older one fails on ARM for some reason.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin kolyshkin marked this pull request as ready for review February 11, 2026 00:18
@kolyshkin kolyshkin added this to the 1.2.10 milestone Feb 11, 2026
Comment on lines 40 to 42
# Do race detection only on latest Go.
- race: -race
go-version: 1.22.x
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah Feb 11, 2026

Choose a reason for hiding this comment

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

This comment doesn't look to match reality; looks like this one should be;

Suggested change
# Do race detection only on latest Go.
- race: -race
go-version: 1.22.x
# Do race detection only on latest Go.
- race: -race
go-version: 1.26.x

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It's true it doesn't match, but I'm not sure if we want to do it with the go version we do the releases or the latest one.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I tend to think the one we use for our official release is better, but it is really not that important

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@thaJeztah those are exclusion patterns

Comment on lines 34 to 35
- criu: criu-dev
go-version: 1.22.x

This comment was marked as resolved.

Copy link
Copy Markdown
Member

@rata rata left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@kolyshkin kolyshkin merged commit 449775e into opencontainers:release-1.2 Feb 12, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants