Skip to content

ci: bump golangci-lint to v2.15 - #5585

Merged
AkihiroSuda merged 1 commit into
opencontainers:mainfrom
kolyshkin:golangci-2.15
Oct 27, 2026
Merged

AkihiroSuda merged 1 commit into
opencontainers:mainfrom
kolyshkin:golangci-2.15

Conversation

@kolyshkin

Copy link
Copy Markdown
Contributor

Fix new errcheck warnings about unchecked errors received from channels:

libcontainer/configs/config.go:632:3: Error return value is not checked (errcheck)
libcontainer/logs/logs_linux_test.go:62:7: Error return value is not checked (errcheck)
notify_socket_test.go:73:7: Error return value is not checked (errcheck)

In the hook timeout case, the error from Wait is expected after Kill,
so add a nolint annotation (using "_ =" upsets staticcheck's S1005).

Fix new errcheck warnings about unchecked errors received from channels:

  libcontainer/configs/config.go:632:3: Error return value is not checked (errcheck)
  libcontainer/logs/logs_linux_test.go:62:7: Error return value is not checked (errcheck)
  notify_socket_test.go:73:7: Error return value is not checked (errcheck)

In the hook timeout case, the error from Wait is expected after Kill,
so add a nolint annotation (using "_ =" upsets staticcheck's S1005).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>

@thaJeztah thaJeztah left a comment

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.

LGTM

@AkihiroSuda
AkihiroSuda enabled auto-merge October 27, 2026 22:02
@AkihiroSuda
AkihiroSuda added this pull request to the merge queue Oct 27, 2026
Merged via the queue into opencontainers:main with commit f4ec3e2 Oct 27, 2026
96 of 97 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants