-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Introduce 'all' build tag for linting #15738
Conversation
Added a check for this constraint as well, in case of error, it prints:
|
By introducing a new 'all' build tag on all build conditionals, we can make the linters run on all files, eliminating two costly steps on each CI run.
Put on WIP because it currently crashes with |
golangci took 33 minutes for whatever reason, I don't think this is going to work out as planned. |
By introducing a new 'all' build tag on all build conditionals, we can make the linters run on all files, eliminating two costly steps on each CI run. Thanks to golangci/golangci-lint#1646 (comment) for the idea.