diff --git a/tekton/ci/custom-tasks/pr-commenter/Makefile b/tekton/ci/custom-tasks/pr-commenter/Makefile index 701be76b8..3a19708d2 100644 --- a/tekton/ci/custom-tasks/pr-commenter/Makefile +++ b/tekton/ci/custom-tasks/pr-commenter/Makefile @@ -2,7 +2,7 @@ MODULE = $(shell env GO111MODULE=on $(GO) list -m) DATE ?= $(shell date +%FT%T%z) BIN = $(CURDIR)/.bin -GOLANGCI_VERSION = v1.50.1 +GOLANGCI_VERSION = v1.52.2 GO = go TIMEOUT_UNIT = 5m diff --git a/tekton/ci/custom-tasks/pr-commenter/tools/go.mod b/tekton/ci/custom-tasks/pr-commenter/tools/go.mod index 0bff19dfe..bb922fd6d 100644 --- a/tekton/ci/custom-tasks/pr-commenter/tools/go.mod +++ b/tekton/ci/custom-tasks/pr-commenter/tools/go.mod @@ -2,7 +2,7 @@ module github.com/tektoncd/plumbing/tekton/ci/custom-tasks/pr-commenter/tools go 1.18 -require github.com/golangci/golangci-lint v1.50.1 +require github.com/golangci/golangci-lint v1.52.2 require ( 4d63.com/gochecknoglobals v0.1.0 // indirect diff --git a/tekton/ci/custom-tasks/pr-status-updater/Makefile b/tekton/ci/custom-tasks/pr-status-updater/Makefile index 701be76b8..3a19708d2 100644 --- a/tekton/ci/custom-tasks/pr-status-updater/Makefile +++ b/tekton/ci/custom-tasks/pr-status-updater/Makefile @@ -2,7 +2,7 @@ MODULE = $(shell env GO111MODULE=on $(GO) list -m) DATE ?= $(shell date +%FT%T%z) BIN = $(CURDIR)/.bin -GOLANGCI_VERSION = v1.50.1 +GOLANGCI_VERSION = v1.52.2 GO = go TIMEOUT_UNIT = 5m diff --git a/tekton/ci/custom-tasks/pr-status-updater/tools/go.mod b/tekton/ci/custom-tasks/pr-status-updater/tools/go.mod index 0bff19dfe..bb922fd6d 100644 --- a/tekton/ci/custom-tasks/pr-status-updater/tools/go.mod +++ b/tekton/ci/custom-tasks/pr-status-updater/tools/go.mod @@ -2,7 +2,7 @@ module github.com/tektoncd/plumbing/tekton/ci/custom-tasks/pr-commenter/tools go 1.18 -require github.com/golangci/golangci-lint v1.50.1 +require github.com/golangci/golangci-lint v1.52.2 require ( 4d63.com/gochecknoglobals v0.1.0 // indirect diff --git a/tekton/images/test-runner/Dockerfile b/tekton/images/test-runner/Dockerfile index fe6f8a898..d55e8fec1 100644 --- a/tekton/images/test-runner/Dockerfile +++ b/tekton/images/test-runner/Dockerfile @@ -174,7 +174,7 @@ RUN GO111MODULE="on" go install github.com/google/go-licenses@latest && \ GO111MODULE="on" go install sigs.k8s.io/kind@${KIND_VERSION} # Install GolangCI linter: https://github.com/golangci/golangci-lint/ -ARG GOLANGCI_VERSION=1.50.1 +ARG GOLANGCI_VERSION=1.52.2 RUN curl -sL https://github.com/golangci/golangci-lint/releases/download/v${GOLANGCI_VERSION}/golangci-lint-${GOLANGCI_VERSION}-linux-amd64.tar.gz | tar -C /usr/local/bin -xvzf - --strip-components=1 --wildcards "*/golangci-lint" # Install Kustomize: