diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c86f81f6..3c9eb3c3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 diff --git a/.golangci.yml b/.golangci.yml index 882a9ff8..8f35944a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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