-
Notifications
You must be signed in to change notification settings - Fork 117
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
ci: added golangci-lint to pre-commit #829
base: main
Are you sure you want to change the base?
Conversation
Added golangci-lint run hook to pre-commit configuration and removed separate CI step.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #829 +/- ##
=======================================
Coverage 70.56% 70.56%
=======================================
Files 31 31
Lines 3285 3285
=======================================
Hits 2318 2318
Misses 793 793
Partials 174 174 ☔ View full report in Codecov by Sentry. |
Pin golangci-lint language version and let it manage via renovate
Co-authored-by: Jonas L. <jooola@users.noreply.github.com>
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.
I would just check how long the cold run takes and see if the cache is persisted across ci runs, if not we might need to investigate why the cache is not preserved.
Other than that looks good from my side, maybe @apricote is against this, I'll leave the final decision to him.
Additionally include restore-keys.
golangci-lint has by far the longest runtime and should therefore be executed last.
Added golangci-lint run hook to pre-commit configuration and removed separate CI step.