[#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 - 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

View file

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