Skip to content

ci: add go 1.18beta1#3326

Merged
mrunalp merged 2 commits intoopencontainers:masterfrom
kolyshkin:go118beta
Jan 26, 2022
Merged

ci: add go 1.18beta1#3326
mrunalp merged 2 commits intoopencontainers:masterfrom
kolyshkin:go118beta

Conversation

@kolyshkin
Copy link
Copy Markdown
Contributor

Release notes: https://go.dev/blog/go1.18beta1

This is just for CI.

(on Go 1.18 this is actually an error)

> libcontainer/factory_linux.go:341:10: fmt.Errorf format %w has arg e of wrong type interface{}

Unfortunately, fixing it results in an errorlint warning:

> libcontainer/factory_linux.go#L344 non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)

so we have to silence that one.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin kolyshkin marked this pull request as ready for review December 16, 2021 01:20
@kolyshkin
Copy link
Copy Markdown
Contributor Author

This would be nice to have landed to CI; PTAL @opencontainers/runc-maintainers

Copy link
Copy Markdown
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

Was thinking if we need a tracking issue to remove the fallback once go 1.17 reaches EOL, but it's just a few lines, so I guess we could keep it for some time.

@mrunalp mrunalp merged commit 403cda1 into opencontainers:master Jan 26, 2022
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.

3 participants