diff --git a/.github/workflows/style.yaml b/.github/workflows/style.yaml index 15569c6fbe..3aab69bd8e 100644 --- a/.github/workflows/style.yaml +++ b/.github/workflows/style.yaml @@ -57,7 +57,9 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} fail_on_error: true locale: "US" - exclude: ./vendor/* + exclude: | + ./vendor/* + ./.golangci.yaml - uses: get-woke/woke-action-reviewdog@d71fd0115146a01c3181439ce714e21a69d75e31 # v0 if: ${{ always() }} diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index a01dc7ba89..7e715e5791 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -32,5 +32,4 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@23faadfdeb23a6f9e511beaba149bb123b5b145a # v6.0.0 with: - version: v1.56 - args: --timeout=5m + version: v1.57 diff --git a/.golangci.yaml b/.golangci.yaml index 2b6ae814c0..4c369546fa 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -9,22 +9,22 @@ issues: linters: enable: - - asciicheck - - errorlint - - gofmt - - gosec - - goimports - - importas - - prealloc - - revive - - misspell - - stylecheck - - tparallel - - unconvert - - unparam - - whitespace + - asciicheck + - errorlint + - gofmt + - gosec + - goimports + - importas + - prealloc + - revive + - misspell + - stylecheck + - tparallel + - unconvert + - unparam + - whitespace disable: - - errcheck - - depguard - - deadcode + - errcheck + - depguard + - deadcode