Skip to content

Commit 6018963

Browse files
committed
chore: bump golangci-lint to 2.11.1
1 parent 376c0ad commit 6018963

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.golangci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ linters:
4242
- commentFormatting
4343
godot:
4444
scope: all
45+
gosec:
46+
excludes:
47+
- G118 # TODO: doesn't detect ctx cancel() call in t.Cleanup()
4548
govet:
4649
settings:
4750
printf:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ TOOLS_DIR=bin
77
ROOT_DIR=$(abspath .)
88
TOOLS_GOBIN_DIR := $(abspath $(TOOLS_DIR))
99

10-
GOLANGCI_LINT_VER := v2.7.2
10+
GOLANGCI_LINT_VER := v2.11.1
1111
GOLANGCI_LINT_BIN := golangci-lint
1212
GOLANGCI_LINT := $(TOOLS_GOBIN_DIR)/$(GOLANGCI_LINT_BIN)-$(GOLANGCI_LINT_VER)
1313

e2e/suites/gke.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ func (ts *gkeTestSuite) Run(ctx context.Context, t *testing.T) {
8383
helmCmdBuilder.WriteString(" --timeout=1m")
8484
helmCmdBuilder.WriteString(" --reset-then-reuse-values")
8585
helmCmdBuilder.WriteString(" --set replicas=1")
86-
helmCmdBuilder.WriteString(fmt.Sprintf(" --set image.repository=%s", ts.clusterControllerImageRepository))
87-
helmCmdBuilder.WriteString(fmt.Sprintf(" --set image.tag=%s", ts.clusterControllerImageTag))
86+
fmt.Fprintf(&helmCmdBuilder, " --set image.repository=%s", ts.clusterControllerImageRepository)
87+
fmt.Fprintf(&helmCmdBuilder, " --set image.tag=%s", ts.clusterControllerImageTag)
8888

8989
r.NoError(ExecPretty(helmCmdBuilder.String()))
9090

0 commit comments

Comments
 (0)