-
Notifications
You must be signed in to change notification settings - Fork 696
[release-1.3] chore(CI): add golangci linter rules #995
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
[release-1.3] chore(CI): add golangci linter rules #995
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Elbehery The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
04815a4
to
eb7be2f
Compare
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
eb7be2f
to
013236f
Compare
/retest |
/retest |
I don't think we want to merge a pull request if it will break the CI. Would it be possible to use golangci-lint v1, with the rules you enabled, rather than bumping the version to 2? |
unfortunately no, these rules require but if we were to maintain the same linting across release branches, how would we proceed ? cc @ahrtr |
We don't see any issue on main branch. Probably it's due to different golang version? Eventually we will bump to v2, but for now let's do not get stuck here (I don't mind closing this PR for now), we should always keep the workflow green. |
lgtm 👍🏽 |
backport of #994
cc @ahrtr @ivanvc