Makefile: fix lint-go with workflow version and project Go toolchain by pratap0007 · Pull Request #2734 · tektoncd/cli

@tekton-robot added the release-note

Denotes a PR that will be considered when it comes time to generate release notes.

label

Feb 18, 2026

@tekton-robot tekton-robot added the size/S

Denotes a PR that changes 10-29 lines, ignoring generated files.

label

Feb 18, 2026

vdemeester

@tekton-robot tekton-robot added the approved

Indicates a PR has been approved by an approver from all required OWNERS files.

label

Feb 18, 2026

@pratap0007

This patch updates Makefile to use GOLANGCI_VERSION from
ci.yaml (fallback to tools/go.mod) and GOTOOLCHAIN from go.mod
when installing so golangci-lint is built with the project’s Go version
also adds inline comments to skip gosec and revive lint.

Signed-off-by: Shiv Verma <shverma@redhat.com>

divyansh42

pratap0007 added a commit that referenced this pull request

Feb 23, 2026
#2729 | [dependabot[bot]] Bump the go-k8s-dependencies group with 3 updates | 2026/02/18-13:42
#2735 | [dependabot[bot]] Bump github.com/golangci/golangci-lint/v2 in /tools | 2026/02/18-16:30
#2730 | [dependabot[bot]] Bump github.com/tektoncd/triggers from 0.34.0 to 0.35.0 | 2026/02/21-14:40
#2737 | [dependabot[bot]] Bump github.com/tektoncd/pipeline from 1.9.0 to 1.9.1 | 2026/02/22-14:12
#2736 | [dependabot[bot]] Bump filippo.io/edwards25519 from 1.1.0 to 1.1.1 | 2026/02/22-15:40
#2738 | [dependabot[bot]] Bump github.com/google/go-containerregistry from 0.20.7 to 0.21.0 | 2026/02/23-04:22
#2734 | [Shiv Verma] Makefile: fix lint-go with workflow version and project Go toolchain | 2026/02/23-09:16
#2739 | [Shiv Verma] Switch hub dependency org to openshift-pipelines | 2026/02/23-12:32

Signed-off-by: Shiv Verma <shverma@redhat.com>