diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index bb00b8c9a..5cfa5131a 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -27,7 +27,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v6.1.1 with: - version: v1.56.2 + version: v1.63.2 working-directory: ${{matrix.working-directory}} args: --timeout=5m0s skip-cache: true diff --git a/.golangci.yml b/.golangci.yml index c287c43ec..e09685c67 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,10 +1,10 @@ # Options for analysis running. run: go: "1.22" - skip-files: - - ".*_test\\.go$" allow-parallel-runners: true issues: + exclude-files: + - ".*_test\\.go$" include: - EXC0012 - EXC0014 @@ -137,11 +137,8 @@ linters: - tagliatelle - exhaustruct - exhaustive - - exhaustivestruct - - maligned - funlen - wrapcheck - - goerr113 - paralleltest - varnamelen - cyclop @@ -150,20 +147,10 @@ linters: - nonamedreturns - gocritic - nlreturn - - gomnd - ireturn - depguard - containedctx - godox - # The following are all deprecated linters - - deadcode - - ifshort - - varcheck - - scopelint - - interfacer - - structcheck - - golint - - nosnakecase # Disabled because of generics - rowserrcheck - sqlclosecheck