Skip to content

Use official binaries to install the golangci-lint package #1610

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

Closed
Ale-Cas opened this issue Mar 25, 2025 · 2 comments
Closed

Use official binaries to install the golangci-lint package #1610

Ale-Cas opened this issue Mar 25, 2025 · 2 comments

Comments

@Ale-Cas
Copy link
Contributor

Ale-Cas commented Mar 25, 2025

The linter is installed in the CI using:
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64

Instead of using go install the official binaries (compiled with go v1.24) should be used.

Related issues:

@Ale-Cas
Copy link
Contributor Author

Ale-Cas commented Mar 25, 2025

See also #1608

@coolwednesday
Copy link
Contributor

coolwednesday commented Mar 27, 2025

@Ale-Cas , I don't think this is necessary since the pipeline's workflow operates independently. I suggest removing the linter from your system and reinstalling the latest version.

Even I installed it from the official binary, and it seems to be compatible with the pipeline.

Also, ensure your linter is detecting the correct path where you're applying the fixes—that's a common issue in many cases.

@Ale-Cas Ale-Cas closed this as completed Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants