We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f34892d commit f4a0999Copy full SHA for f4a0999
2 files changed
.github/workflows/test.yml
@@ -34,9 +34,9 @@ jobs:
34
make build
35
36
- name: lint
37
- uses: golangci/golangci-lint-action@v6
+ uses: golangci/golangci-lint-action@v7
38
with:
39
- version: v1.59
+ version: v2.0
40
args: --print-resources-usage --timeout=10m --verbose
41
42
- name: Test
.golangci.yml
@@ -1,18 +1,21 @@
1
+version: "2"
2
linters:
3
enable:
4
- bodyclose
- - dupword # Checks for duplicate words in the source code
5
- - gofmt
6
- - goimports
7
- - ineffassign
+ - dupword
8
- misspell
9
- revive
10
- - staticcheck
11
- unconvert
12
- - unused
13
- - vet
14
disable:
15
- errcheck
16
-
17
-run:
18
- deadline: 2m
+ exclusions:
+ generated: disable
+ presets:
+ - comments
+ - std-error-handling
+formatters:
+ enable:
+ - gofmt
19
+ - goimports
20
21
0 commit comments