From c488842eeb13c7c742ae57697f5d7d918c7e3dcd Mon Sep 17 00:00:00 2001 From: David Bendory Date: Thu, 22 Dec 2022 12:18:57 -0500 Subject: [PATCH] Upgraded golangci-lint to 1.50.1 (latest). --- tekton/ci/custom-tasks/pr-commenter/Makefile | 2 +- tekton/ci/custom-tasks/pr-commenter/tools/go.mod | 2 +- tekton/ci/custom-tasks/pr-status-updater/Makefile | 2 +- tekton/ci/custom-tasks/pr-status-updater/tools/go.mod | 2 +- tekton/images/test-runner/Dockerfile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tekton/ci/custom-tasks/pr-commenter/Makefile b/tekton/ci/custom-tasks/pr-commenter/Makefile index 2acdd11c1..701be76b8 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.47.2 +GOLANGCI_VERSION = v1.50.1 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 1a52acf6e..0bff19dfe 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.47.2 +require github.com/golangci/golangci-lint v1.50.1 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 2acdd11c1..701be76b8 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.47.2 +GOLANGCI_VERSION = v1.50.1 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 1a52acf6e..0bff19dfe 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.47.2 +require github.com/golangci/golangci-lint v1.50.1 require ( 4d63.com/gochecknoglobals v0.1.0 // indirect diff --git a/tekton/images/test-runner/Dockerfile b/tekton/images/test-runner/Dockerfile index d5b398ddb..1dabf7795 100644 --- a/tekton/images/test-runner/Dockerfile +++ b/tekton/images/test-runner/Dockerfile @@ -173,7 +173,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.47.2 +ARG GOLANGCI_VERSION=1.50.1 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: