Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded golangci-lint to 1.50.1 (latest). #1308

Merged
merged 1 commit into from
Dec 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tekton/ci/custom-tasks/pr-commenter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tekton/ci/custom-tasks/pr-commenter/tools/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tekton/ci/custom-tasks/pr-status-updater/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tekton/ci/custom-tasks/pr-status-updater/tools/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tekton/images/test-runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down