Skip to content

Commit 0c5e42c

Browse files
committed
gha: update golangci-lint to v1.59
Error: fuzz_test.go:11:14: unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive) f.Fuzz(func(t *testing.T, data string) { ^ Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 2ab2cce commit 0c5e42c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: lint
3737
uses: golangci/golangci-lint-action@v6
3838
with:
39-
version: v1.53
39+
version: v1.59
4040
args: --print-resources-usage --timeout=10m --verbose
4141

4242
- name: Test

fuzz_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
// that targets ParseNormalizedNamed
99
// nolint:deadcode
1010
func FuzzParseNormalizedNamed(f *testing.F) {
11-
f.Fuzz(func(t *testing.T, data string) {
11+
f.Fuzz(func(_ *testing.T, data string) {
1212
_, _ = ParseNormalizedNamed(data)
1313
})
1414
}

0 commit comments

Comments
 (0)