Skip to content

Commit 4d86945

Browse files
committed
Bump to Go 1.24
1 parent 994601b commit 4d86945

File tree

2 files changed

+45
-29
lines changed

2 files changed

+45
-29
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
- name: golangci-lint
1818
uses: golangci/golangci-lint-action@v7
1919
with:
20-
version: v1.64
20+
version: v2.0.2

.golangci.yml

Lines changed: 44 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,47 @@
1+
version: "2"
12
run:
2-
timeout: 5m
33
tests: false
4-
54
linters:
6-
enable-all: true
7-
disable:
8-
- cyclop
9-
- depguard
10-
- exhaustivestruct
11-
- exhaustruct
12-
- forbidigo
13-
- gci
14-
- lll
15-
- godot
16-
- gofumpt
17-
- gochecknoinits
18-
- gochecknoglobals
19-
- goerr113
20-
- godox
21-
- gomnd
22-
- mnd
23-
- nakedret
24-
- musttag
25-
- nlreturn
26-
- nonamedreturns
27-
- wrapcheck
28-
- varnamelen
29-
linters-settings:
30-
funlen:
31-
lines: 90
5+
default: all
6+
disable:
7+
- cyclop
8+
- depguard
9+
- err113
10+
- exhaustruct
11+
- forbidigo
12+
- gochecknoglobals
13+
- gochecknoinits
14+
- godot
15+
- godox
16+
- lll
17+
- mnd
18+
- musttag
19+
- nakedret
20+
- nlreturn
21+
- nonamedreturns
22+
- varnamelen
23+
- wrapcheck
24+
settings:
25+
funlen:
26+
lines: 90
27+
exclusions:
28+
generated: lax
29+
presets:
30+
- comments
31+
- common-false-positives
32+
- legacy
33+
- std-error-handling
34+
paths:
35+
- third_party$
36+
- builtin$
37+
- examples$
38+
formatters:
39+
enable:
40+
- gofmt
41+
- goimports
42+
exclusions:
43+
generated: lax
44+
paths:
45+
- third_party$
46+
- builtin$
47+
- examples$

0 commit comments

Comments
 (0)