-
Notifications
You must be signed in to change notification settings - Fork 242
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
make lint only checks root and test folders #1387
Comments
I propose to fix it as we do in CAPM3. We run golangci as a github workflow here. Advantage is one less prow job. For local dev and test, we can do something similar to https://github.com/metal3-io/cluster-api-provider-metal3/blob/main/Makefile#L279-L282. If this is ok, I can push a PR. |
Works for me. /triage accepted |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
@kashifest was this fixed in #1536? |
Yes. This is now fixed. I am planning to perhaps retire the prow job but the phony is fixed to test locally. /close |
@kashifest: Closing this 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 kubernetes/test-infra repository. |
What steps did you take and what happened:
make lint
is only checking the repo root andtest
, as can be seen here:baremetal-operator/Makefile
Lines 127 to 130 in c493623
What did you expect to happen:
I think we should at least check
apis
and possibly alsopkg/hardwareutils
, similar to what we do formake mod
baremetal-operator/Makefile
Lines 300 to 311 in c493623
Anything else you would like to add:
We seem to have a few linting errors in
apis
already from a quick test. Nothing too serious but it would be good to make sure we do not introduce more issues.Environment:
/kind bug
The text was updated successfully, but these errors were encountered: