-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Update golangci-lint version (1.49.0 -> 1.50.1) and enable linters: dupword and testableexamples #4840
Update golangci-lint version (1.49.0 -> 1.50.1) and enable linters: dupword and testableexamples #4840
Conversation
oscr
commented
Oct 22, 2022
•
edited
Loading
edited
- Update golangci-lint version from 1.49.0 -> 1.50.1
- In golangci-lint 1.50.0 logrlint was renamed loggercheck. Referencehttps://github.com/golangci/golangci-lint/releases/tag/v1.50.0
- Enable new linters: dupword and testableexamples introduced in 1.50.0
Looks like problems with tests or master. Failing on master since: https://github.com/kubernetes-sigs/kustomize/actions/runs/3300605518 |
Hi @oscr Thanks for you contributions.
Look like you are using Could you enable |
/assign koba1t |
ccdb013
to
f601148
Compare
@koba1t Thank you for the review and you are right. I mixed up the version in the pr description. I fixed it and enabled the additional linter as requested. |
/retest |
I think these code changes are not the cause of test failures and tests are successful on my pc. Could you try to re-run GitHub actions? |
Agree. The tests seem to be broken on master: https://github.com/kubernetes-sigs/kustomize/actions/runs/3331584091 |
f601148
to
99bea94
Compare
But I retriggered GH actions so lets see. |
Looks like @natasha41575 working on this problem at #4844. |
#4844 is merged. Could you try to |
…pword and testableexamples
99bea94
to
e16b0f0
Compare
Looks like the fix worked perfectly. |
/lgtm |
/approve thanks! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: KnVerey, oscr The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |