File tree Expand file tree Collapse file tree 2 files changed +29
-16
lines changed Expand file tree Collapse file tree 2 files changed +29
-16
lines changed Original file line number Diff line number Diff line change 22
22
GO_TEST_ARGS : -coverprofile coverage.out -covermode atomic
23
23
TEST_GEM_DIR : ruby/testdata/example/
24
24
25
- # c.f. https://github.com/golangci/golangci-lint/blob/master /CHANGELOG.md
26
- GOLANGCI_LINT_VERSION : v1.60
25
+ # c.f. https://github.com/golangci/golangci-lint/blob/main /CHANGELOG.md
26
+ GOLANGCI_LINT_VERSION : v2.0
27
27
28
28
jobs :
29
29
generate-matrix :
@@ -136,7 +136,7 @@ jobs:
136
136
- run : echo $BUILD_TAG
137
137
138
138
- name : golangci-lint
139
- uses : golangci/golangci-lint-action@v6
139
+ uses : golangci/golangci-lint-action@v7
140
140
with :
141
141
version : ${{ env.GOLANGCI_LINT_VERSION }}
142
142
args : --build-tags ${{ env.BUILD_TAG }} --modules-download-mode=readonly
Original file line number Diff line number Diff line change 1
- linters-settings :
2
- revive :
3
- rules :
4
- - name : exported
5
- arguments :
6
- - disableStutteringCheck
7
-
1
+ version : " 2"
8
2
linters :
9
3
enable :
10
- - gofmt
11
4
- revive
12
5
- testifylint
13
6
- wrapcheck
14
-
15
- issues :
16
- include :
17
- - EXC0012 # EXC0012 revive: Annoying issue about not having a comment. The rare codebase has such comments
18
- - EXC0014 # EXC0014 revive: Annoying issue about not having a comment. The rare codebase has such comments
7
+ settings :
8
+ revive :
9
+ rules :
10
+ - name : exported
11
+ arguments :
12
+ - disableStutteringCheck
13
+ exclusions :
14
+ generated : lax
15
+ presets :
16
+ - common-false-positives
17
+ - legacy
18
+ - std-error-handling
19
+ paths :
20
+ - third_party$
21
+ - builtin$
22
+ - examples$
23
+ formatters :
24
+ enable :
25
+ - gofmt
26
+ exclusions :
27
+ generated : lax
28
+ paths :
29
+ - third_party$
30
+ - builtin$
31
+ - examples$
You can’t perform that action at this time.
0 commit comments