Skip to content

Commit 37fd3df

Browse files
Merge pull request #111 from NETWAYS/dependabot/github_actions/golangci/golangci-lint-action-7
Bump golangci/golangci-lint-action from 6 to 7
2 parents 19227f5 + 8d17971 commit 37fd3df

File tree

2 files changed

+48
-31
lines changed

2 files changed

+48
-31
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
- uses: actions/checkout@v4
1616

1717
- name: golangci-lint
18-
uses: golangci/golangci-lint-action@v6
18+
uses: golangci/golangci-lint-action@v7
1919
with:
20-
version: v1.64.8
20+
version: v2.0.2

.golangci.yml

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

0 commit comments

Comments
 (0)