diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index dd3561b10..3f03723ad 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -24,7 +24,7 @@ jobs: uses: golangci/golangci-lint-action@v8 with: # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version - version: v2.13.1 + version: v2.14.0 # Optional: working directory, useful for monorepos # working-directory: ${{ matrix.modules }} diff --git a/Makefile b/Makefile index 1483b25dd..27b42519b 100644 --- a/Makefile +++ b/Makefile @@ -188,7 +188,7 @@ docker-prune: docker buildx rm smartnode-builder rm ${BUILD_DIR}/docker-buildx-builder -golangci_lint_version = v2.13.1 +golangci_lint_version = v2.14.0 docker_lint_cmd = docker run -e XDG_CACHE_HOME=/go/.cache -e GOMODCACHE=/go/.cache/pkg/mod -e GOCACHE=/go/.cache/go-build -e GOLANGCI_LINT_CACHE=/go/.cache/golangci-lint \ --user $(shell id -u):$(shell id -g) --rm -v ~/.cache:/go/.cache -v .:/smartnode --workdir /smartnode/ golangci/golangci-lint:${golangci_lint_version}-alpine golangci-lint local_lint_cmd = GOTOOLCHAIN=go1.27.0 go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@${golangci_lint_version}