forked from TrueCloudLab/frostfs-node
[#875] ci: Update linter
Update golangci version, replace golint by revive Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
parent
e41e74b5fc
commit
95620dcfbd
2 changed files with 2 additions and 2 deletions
2
.github/workflows/go.yml
vendored
2
.github/workflows/go.yml
vendored
|
@ -52,6 +52,6 @@ jobs:
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v2
|
uses: golangci/golangci-lint-action@v2
|
||||||
with:
|
with:
|
||||||
version: v1.30
|
version: v1.42.1
|
||||||
args: --timeout=5m
|
args: --timeout=5m
|
||||||
only-new-issues: true
|
only-new-issues: true
|
||||||
|
|
|
@ -29,7 +29,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