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

Update golangci-lint installation to use installation script #82

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

ivanvc
Copy link
Member

@ivanvc ivanvc commented Feb 20, 2025

Installing via go get/go install is discouraged by the golangci-lint manual. Reference:
https://golangci-lint.run/welcome/install/#install-from-sources

We're not bound to the host Go version if we install using their preferred method. And in cases like Prow where updates to the base image take longer, this could slow down Go version upgrades.

Installing via `go get`/`go install` is discouraged by the golangci-lint
manual. Reference:
https://golangci-lint.run/welcome/install/#install-from-sources

We're not bound to the host Go version if we install using their
preferred method. And in cases like Prow where updates to the base image
take longer, this could slow down Go version upgrades.

Signed-off-by: Ivan Valdes <[email protected]>
@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahrtr, ivanvc

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

The pull request process is described here

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

@ahrtr ahrtr merged commit ffea1ae into etcd-io:main Feb 20, 2025
6 checks passed
@ivanvc ivanvc deleted the update-golangci-lint-installation branch February 20, 2025 15:57
@ivanvc ivanvc mentioned this pull request Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants