Skip to content

chore: bump golangci-lint to 2.11.2#234

Merged
arturaslcast merged 3 commits intomainfrom
arturasl/golinter-bump
Mar 9, 2026
Merged

chore: bump golangci-lint to 2.11.2#234
arturaslcast merged 3 commits intomainfrom
arturasl/golinter-bump

Conversation

@arturaslcast
Copy link
Contributor

to make it compatible with go 1.26.

temporary exclude gosec G118 which incorrectly detects the following code:

		ctx, cancel := context.WithCancel(t.Context())
		t.Cleanup(func() {
			cancel()
			watcher.Stop()
		})

as:

internal/informer/node_informer_test.go:308:36: G118: context cancellation function returned by WithCancel/WithTimeout/WithDeadline is not called (gosec)
		ctx, cancel := context.WithCancel(t.Context())
		                                 ^

@arturaslcast arturaslcast requested a review from a team as a code owner March 6, 2026 17:27
@arturaslcast arturaslcast changed the title chore: bump golangci-lint to 2.11.1 chore: bump golangci-lint to 2.11.2 Mar 9, 2026
@arturaslcast arturaslcast merged commit 65aaafd into main Mar 9, 2026
3 checks passed
@arturaslcast arturaslcast deleted the arturasl/golinter-bump branch March 9, 2026 12:35
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