[#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
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
with:
|
||||
version: v1.29
|
||||
version: v1.42.1
|
||||
only-new-issues: true
|
||||
|
|
|
@ -9,6 +9,9 @@ run:
|
|||
# include test files or not, default is true
|
||||
tests: false
|
||||
|
||||
skip-files:
|
||||
- (^|.*/)grpc/(.*)
|
||||
|
||||
# output configuration options
|
||||
output:
|
||||
# colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
|
||||
|
@ -29,7 +32,7 @@ linters:
|
|||
enable:
|
||||
# mandatory linters
|
||||
- govet
|
||||
- golint
|
||||
- revive
|
||||
|
||||
# some default golangci-lint linters
|
||||
- errcheck
|
||||
|
|
Loading…
Reference in a new issue