From bae1006787b06e0dd3c16402e49c5a609a6400cb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 16 Oct 2026 15:58:04 +0000 Subject: [PATCH] chore(deps): update dependency golangci/golangci-lint to v2.15.0 (main) (#2758) Co-authored-by: Claude Signed-off-by: Claude --- .github/workflows/ci.yml | 2 +- AGENTS.md | 4 ++-- internal/headers/cri/pipe_internal_test.go | 4 ++-- internal/ole/ole_test.go | 3 ++- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 033ee663..db0f5dba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1866,7 +1866,7 @@ jobs: GOARCH: amd64 with: # renovate: github=golangci/golangci-lint - version: v2.14.0 + version: v2.15.0 args: "--max-same-issues=0" super-linter: diff --git a/AGENTS.md b/AGENTS.md index 069707cb..33ebb4c0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -86,8 +86,8 @@ If GNU Make is unavailable on Windows, use the equivalent commands from the current Makefile. Its current formatter and linter commands are: ```powershell -go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.14.0 fmt -go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.14.0 run ./... +go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.15.0 fmt +go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.15.0 run ./... go test ./... ``` diff --git a/internal/headers/cri/pipe_internal_test.go b/internal/headers/cri/pipe_internal_test.go index bd47996a..d927365c 100644 --- a/internal/headers/cri/pipe_internal_test.go +++ b/internal/headers/cri/pipe_internal_test.go @@ -449,8 +449,8 @@ func TestReadAheadConnCloseWaitsForReader(t *testing.T) { synctest.Wait() select { - case <-closed: - t.Fatal("Close returned before the background read finished") + case err := <-closed: + t.Fatalf("Close returned before the background read finished: %v", err) default: } diff --git a/internal/ole/ole_test.go b/internal/ole/ole_test.go index 7be4149a..a9eae373 100644 --- a/internal/ole/ole_test.go +++ b/internal/ole/ole_test.go @@ -158,7 +158,8 @@ func TestBorrowedItemsPanic(t *testing.T) { ) require.Panics(t, func() { - for range seq { + for _, err := range seq { + require.NoError(t, err) panic("consumer panic") } })