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

Bump go, k8s deps and linter versions, and some fixes #596

Merged
merged 5 commits into from
Dec 18, 2024
Merged

Conversation

porridge
Copy link
Member

@porridge porridge commented Dec 18, 2024

What this PR does / why we need it:

A pending dependency bump #595 requires a go lang version bump. That version seems incompatible with the old golangci-lint, so we bump both here.

Edit: the old k8s code generator cannot handle go 1.23 so we need to bump k8s deps in lockstep in the same PR 🙄 .

While at it, I refreshed the list of linters and enabled those which were producing no or few issues (after fixing them).
FTR, exportloopref is replaced with copyloopvar due to language changes, and typecheck seems gone altogether, but curiously the linter does not complain about unknown check.

Signed-off-by: Marcin Owsiany <porridge@redhat.com>
Signed-off-by: Marcin Owsiany <porridge@redhat.com>
Also fix some of the complaints where there were few of them.

Signed-off-by: Marcin Owsiany <porridge@redhat.com>
Signed-off-by: Marcin Owsiany <porridge@redhat.com>
@porridge porridge requested a review from vladbologa December 18, 2024 09:36
@porridge porridge requested a review from kensipe as a code owner December 18, 2024 09:36
Signed-off-by: Marcin Owsiany <porridge@redhat.com>
@porridge porridge changed the title Bump go and linter version, and some fixes Bump go, k8s deps and linter versions, and some fixes Dec 18, 2024
@porridge porridge added the dependencies Pull requests that update a dependency file label Dec 18, 2024
@porridge porridge merged commit db58f80 into main Dec 18, 2024
6 checks passed
@porridge porridge deleted the bump-linter branch December 18, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants