[#349] ci: Update linter

Update golangci version, replace golint by revive

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
Angira Kekteeva 2021-10-04 22:53:41 +03:00 committed by Alex Vanin
parent ea91004e8a
commit a8fa0f9847
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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