Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Commit

Permalink
[#349] ci: Update linter
Browse files Browse the repository at this point in the history
Update golangci version, replace golint by revive

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
  • Loading branch information
masterSplinter01 authored and alexvanin committed Oct 7, 2021
1 parent ea91004 commit a8fa0f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 4 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -29,7 +32,7 @@ linters:
enable:
# mandatory linters
- govet
- golint
- revive

# some default golangci-lint linters
- errcheck
Expand Down

0 comments on commit a8fa0f9

Please sign in to comment.