-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
Document running golangci-lint and make it work on arm64 #12339
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this. I had a couple of points.
Force-pushed to trigger the CI. Might have not run because of this Github incident. |
I would still keep the unused targets for now and keep backwards compat |
We have looked at this pull request during our bug scrub. Are you willing to continue to work on this? There is also a conflict on Makefile.common. Thank you for your contribution. |
Signed-off-by: Mickael Carl <mcarl@apple.com>
Signed-off-by: Mickael Carl <mcarl@apple.com>
5217ae0
to
420b324
Compare
@roidelapluie I've updated this now, limiting the change to only the required to get linting to work on arm64 + doc change. That should solve your concerns with the various removal I had in. |
Signed-off-by: Julien <291750+roidelapluie@users.noreply.github.com>
While opening a different PR, I noticed that while the contributing guidelines do mention golangci-lint, there aren't instructions on how to run it. When running the Makefile target for it on an arm64 machine, it will immediately exits due to
arm64
being missing from the list of supported architecture.Also removing some targets (precheck, common-staticcheck) that aren't in use anymore in any repo in the
prometheus
orprometheus-community
orgs.