Skip to content

[release-v0.45.x] CI: Use goinstall mode for golangci-lint action#2986

Open
vdemeester wants to merge 1 commit into
tektoncd:release-v0.45.xfrom
vdemeester:fix/golangci-lint-goinstall-release-v0.45.x
Open

[release-v0.45.x] CI: Use goinstall mode for golangci-lint action#2986
vdemeester wants to merge 1 commit into
tektoncd:release-v0.45.xfrom
vdemeester:fix/golangci-lint-goinstall-release-v0.45.x

Conversation

@vdemeester

Copy link
Copy Markdown
Member

Changes

Cherry-pick of #2984 to release-v0.45.x.

The prebuilt golangci-lint binary was built with Go 1.25, which is incompatible with our Go 1.26 toolchain. Switch to install-mode: goinstall so golangci-lint is compiled from source using the project's Go version, avoiding the mismatch.

Submitter Checklist

Release Notes

NONE

The prebuilt golangci-lint binary was built with Go 1.25, which is
incompatible with our Go 1.26 toolchain. Switch to install-mode:
goinstall so golangci-lint is compiled from source using the project's
Go version, avoiding the mismatch.

Cherry-pick of fix from main to release-v0.45.x.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
@tekton-robot tekton-robot added the release-note-none Denotes a PR that doesnt merit a release note. label Jul 3, 2026
@tekton-robot tekton-robot requested a review from divyansh42 July 3, 2026 20:15
@tekton-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please ask for approval from vdemeester after the PR has been reviewed.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot requested a review from pradeepitm12 July 3, 2026 20:15
@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 3, 2026
@vdemeester vdemeester changed the title CI: Use goinstall mode for golangci-lint action [release-v0.45.x] CI: Use goinstall mode for golangci-lint action Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note-none Denotes a PR that doesnt merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants