Skip to content

Commit f6a1754

Browse files
committed
CI: use golangci-lint 1.64.2
Signed-off-by: Akihiro Suda <[email protected]>
1 parent 7ce6a7a commit f6a1754

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Run golangci-lint
4242
uses: golangci/golangci-lint-action@051d91933864810ecd5e2ea2cfd98f6a5bca5347 # v6.3.2
4343
with:
44-
version: v1.62.0
44+
version: v1.64.2
4545
args: --verbose --timeout=10m
4646
- name: Run yamllint
4747
run: yamllint .

pkg/instance/start.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,6 @@ type watchHostAgentEventsTimeoutKey = struct{}
339339
// WithWatchHostAgentTimeout sets the value of the timeout to use for
340340
// watchHostAgentEvents in the given Context.
341341
func WithWatchHostAgentTimeout(ctx context.Context, timeout time.Duration) context.Context {
342-
//nolint:staticcheck // SA1029: should not use empty anonymous struct as key for value; define your own type to avoid collisions (staticcheck)
343342
return context.WithValue(ctx, watchHostAgentEventsTimeoutKey{}, timeout)
344343
}
345344

0 commit comments

Comments
 (0)