Skip to content

ci: improve/fix golangci-lint config #4307

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

Merged
merged 1 commit into from
Dec 29, 2024
Merged

Conversation

erikgb
Copy link
Contributor

@erikgb erikgb commented Dec 29, 2024

Closes

What changed?

While running make lint I noticed a couple of deprecation warnings that I wanted to fix. In addition, I removed the hard-coded Go version from the lint config. golangci-lint will by default use the Go version specified in go.mod.

Why was this change made?

Eliminate warnings when running lint. Deprecated features will eventually be removed. Also nice to avoid having to bump Go version in multiple files.

How was this change implemented?

How did you validate the change?

Release notes

Documentation Changes

@casibbald casibbald merged commit e1c60c1 into weaveworks:main Dec 29, 2024
17 checks passed
This was referenced Jan 15, 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

Successfully merging this pull request may close these issues.

2 participants