operator-sdk icon indicating copy to clipboard operation
operator-sdk copied to clipboard

ci: use golangci-lint v2

Open PascalBourdier opened this issue 1 month ago • 4 comments

update golangci-lint to v2 and use autofix

Description of the change: update golangci-lint to v2

Motivation for the change: allow golangci-lint v2 features usage

Checklist

If the pull request includes user-facing changes, extra documentation is required:

PascalBourdier avatar Nov 27 '25 16:11 PascalBourdier

sanity / docs check failed with:

External link https://kuttl.dev/docs/testing/reference.html#testsuite failed: response code 0 means something's wrong.

but no DNS entry seems present for kuttl.dev

PascalBourdier avatar Nov 28 '25 08:11 PascalBourdier

Hi @PascalBourdier Thanks for the contribution, I'll try to review this pr this week. The DNS issue is known, hopefully the website comes back.

  • kudobuilder/kuttl#629

acornett21 avatar Dec 01 '25 16:12 acornett21

sanity / docs check failed with:

External link https://kuttl.dev/docs/testing/reference.html#testsuite failed: response code 0 means something's wrong.

but no DNS entry seems present for kuttl.dev

FTR I'd recommend changing this to https://github.com/kudobuilder/kuttl/blob/main/docs/testing/reference.md#testsuite either way, the docs on the website were perpetually out of date, and if the site is restored it will most likely become a redirect.

porridge avatar Dec 02 '25 07:12 porridge

@porridge Thanks for the ref, I raised the below PR that should at least fix the DNS issue, but there is still likely to be failures in this CI step, since there are over 800 links being checked.

  • Relates: #7030

acornett21 avatar Dec 04 '25 21:12 acornett21