diff --git a/.github/workflows/golangci_lint.yml b/.github/workflows/golangci_lint.yml index e57eb888d..22ef02836 100644 --- a/.github/workflows/golangci_lint.yml +++ b/.github/workflows/golangci_lint.yml @@ -11,8 +11,7 @@ jobs: actions: read steps: - name: golangci-lint - uses: smartcontractkit/.github/actions/ci-lint-go@5f5ebd52cb13f4b8530cd3005ec7ec3180840219 # v0.2.5 + uses: smartcontractkit/.github/actions/ci-lint-go@2ac9d97a83a5edded09af7fcf4ea5bce7a4473a4 # v0.2.6 with: - golangci-lint-version: v1.60.1 - go-version-file: go.mod + golangci-lint-version: v1.61.0 \ No newline at end of file diff --git a/.golangci.yml b/.golangci.yml index 8c1a4b166..8b4070989 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -2,23 +2,29 @@ run: timeout: 15m0s linters: enable: + - containedctx + - depguard + - errname + - errorlint - exhaustive - exportloopref - - revive + - fatcontext + - ginkgolinter - goimports - gosec + - loggercheck + - mirror - misspell + - noctx + - perfsprint + - prealloc + - revive - rowserrcheck - - errorlint - - unconvert + - spancheck - sqlclosecheck - - noctx + - testifylint + - unconvert - whitespace - - depguard - - containedctx - - fatcontext - - mirror - - loggercheck linters-settings: exhaustive: default-signifies-exhaustive: true diff --git a/.tool-versions b/.tool-versions index b82d197d7..6b6bb428c 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,5 +1,5 @@ golang 1.22.7 protoc 25.1 protoc-gen-go-grpc 1.3.0 -golangci-lint 1.55.2 +golangci-lint 1.61.0 mockery 2.43.2