-
Notifications
You must be signed in to change notification settings - Fork 333
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
HOSTEDCP-2176: Add golangci-lint to verify in Makefile #4739
base: main
Are you sure you want to change the base?
Conversation
/test verify |
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bryan-cox 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 |
fa5183c
to
e18d3f8
Compare
/test verify |
/test verify |
/test verify |
d47de39
to
2c50d0b
Compare
2c50d0b
to
4af8235
Compare
✅ Deploy Preview for hypershift-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
4af8235
to
b242b49
Compare
94cdc05
to
8792d5e
Compare
/test all |
8792d5e
to
2b62da2
Compare
/test all |
1 similar comment
/test all |
@bryan-cox: This pull request references HOSTEDCP-2176 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
There are additional linters we can add in the future if we want - https://golangci-lint.run/usage/linters/ |
/retest |
1 similar comment
/retest |
/retest-required |
1 similar comment
/retest-required |
/test verify |
/retest |
b2220b3
to
e376517
Compare
/retest-required |
Add golangci-lint to verify in Makefile so common mistakes are caught in presubmit PRs. Signed-off-by: Bryan Cox <brcox@redhat.com>
Signed-off-by: Bryan Cox <brcox@redhat.com>
Signed-off-by: Bryan Cox <brcox@redhat.com>
Signed-off-by: Bryan Cox <brcox@redhat.com>
Signed-off-by: Bryan Cox <brcox@redhat.com>
Signed-off-by: Bryan Cox <brcox@redhat.com>
Signed-off-by: Bryan Cox <brcox@redhat.com>
e376517
to
8decbb2
Compare
/retest |
/retest-required |
2 similar comments
/retest-required |
/retest-required |
/retest |
@bryan-cox: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What this PR does / why we need it:
Add golangci-lint to verify in Makefile so common mistakes are caught in presubmit PRs.
This PR also introduces a way to enforce Golang imports are properly formatted throughout the project.
Which issue(s) this PR fixes (optional, use
fixes #<issue_number>(, fixes #<issue_number>, ...)
format, where issue_number might be a GitHub issue, or a Jira story:Fixes #
Checklist