Skip to content

Conversation

@marckhouzam
Copy link
Collaborator

@marckhouzam marckhouzam commented Nov 14, 2025

It seems that with the v2.6.1 version of golangci-lint, govet is too agressive about removing the old "// +build" tag.
We need to keep the old "+build" syntax because Cobra still allows to use a Go version as old as 1.15.

You can see the failure currently happening in #2325

We need to keep the old "+build" syntax because Cobra still allows to
use a Go version as old as 1.15.

Signed-off-by: Marc Khouzam <[email protected]>
@marckhouzam marckhouzam modified the milestones: 1.10.0, 1.11.0 Nov 14, 2025
Copy link
Collaborator

@jpmcb jpmcb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks Marc!

@marckhouzam marckhouzam merged commit 0629892 into spf13:main Nov 14, 2025
21 checks passed
@marckhouzam marckhouzam deleted the marck/fixLinter branch November 14, 2025 14:02
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