diff --git a/.github/workflows/dapr_cli.yaml b/.github/workflows/dapr_cli.yaml index a27c13ba6..873ecb927 100644 --- a/.github/workflows/dapr_cli.yaml +++ b/.github/workflows/dapr_cli.yaml @@ -29,7 +29,7 @@ jobs: name: Build ${{ matrix.target_os }}_${{ matrix.target_arch }} binaries runs-on: ${{ matrix.os }} env: - GOLANG_CI_LINT_VER: v1.55.2 + GOLANG_CI_LINT_VER: v1.61.0 GOOS: ${{ matrix.target_os }} GOARCH: ${{ matrix.target_arch }} GOPROXY: https://proxy.golang.org diff --git a/.golangci.yml b/.golangci.yml index d26599d7f..b0b805b93 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -222,6 +222,7 @@ linters: enable-all: true disable: # TODO Enforce the below linters later + - musttag - dupl - errcheck - funlen @@ -230,39 +231,47 @@ linters: - gocyclo - gocognit - godox - - interfacer - lll - - maligned - - scopelint - unparam - wsl - gomnd - testpackage - nestif - - goerr113 - nlreturn - exhaustive - - gci - - noctx - - exhaustivestruct - exhaustruct - - gomoddirectives - - paralleltest + - noctx + - gci - tparallel - - wastedassign - - cyclop - - forbidigo - - tagliatelle - - thelper + - paralleltest - wrapcheck + - tagliatelle + - ireturn + - errchkjson + - contextcheck + - gomoddirectives + - godot + - cyclop - varnamelen + - errorlint - forcetypeassert - - ireturn - - golint - - nosnakecase + - maintidx + - nilnil + - predeclared + - tenv + - thelper + - wastedassign + - containedctx + - gosimple + - nonamedreturns + - asasalint + - rowserrcheck + - sqlclosecheck + - inamedparam - tagalign - - varcheck - - deadcode - - structcheck - - ifshort - - testifylint \ No newline at end of file + - mnd + - canonicalheader + - exportloopref + - execinquery + - err113 + - fatcontext \ No newline at end of file