Skip to content

Commit b183087

Browse files
committed
Update golangci/golangci-lint-action
1 parent bc11efd commit b183087

2 files changed

Lines changed: 3 additions & 16 deletions

File tree

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/checkout@v6
2323

2424
- name: Run linter
25-
uses: golangci/golangci-lint-action@v6
25+
uses: golangci/golangci-lint-action@v9
2626
with:
27-
version: latest
27+
version: v2.8
2828
skip-cache: true

.golangci.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
1+
version: "2"
12
linters:
2-
enable-all: true
33
disable:
4-
- exhaustivestruct
54
- forbidigo
65
- gochecknoglobals
76
- ireturn
87
- nlreturn
98
- testpackage
109
- varnamelen
11-
12-
issues:
13-
exclude-rules:
14-
- path: _test\.go
15-
linters:
16-
- errcheck
17-
- funlen
18-
- interfacer
19-
- maligned
20-
- nilnil
21-
- noctx
22-
- scopelint

0 commit comments

Comments
 (0)