[#349] ci: Update linter
Update golangci version, replace golint by revive Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
parent
ea91004e8a
commit
a8fa0f9847
2 changed files with 5 additions and 2 deletions
2
.github/workflows/go.yml
vendored
2
.github/workflows/go.yml
vendored
|
@ -55,5 +55,5 @@ jobs:
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v2
|
uses: golangci/golangci-lint-action@v2
|
||||||
with:
|
with:
|
||||||
version: v1.29
|
version: v1.42.1
|
||||||
only-new-issues: true
|
only-new-issues: true
|
||||||
|
|
|
@ -9,6 +9,9 @@ run:
|
||||||
# include test files or not, default is true
|
# include test files or not, default is true
|
||||||
tests: false
|
tests: false
|
||||||
|
|
||||||
|
skip-files:
|
||||||
|
- (^|.*/)grpc/(.*)
|
||||||
|
|
||||||
# output configuration options
|
# output configuration options
|
||||||
output:
|
output:
|
||||||
# colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
|
# colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
|
||||||
|
@ -29,7 +32,7 @@ linters:
|
||||||
enable:
|
enable:
|
||||||
# mandatory linters
|
# mandatory linters
|
||||||
- govet
|
- govet
|
||||||
- golint
|
- revive
|
||||||
|
|
||||||
# some default golangci-lint linters
|
# some default golangci-lint linters
|
||||||
- errcheck
|
- errcheck
|
||||||
|
|
Loading…
Reference in a new issue