-
Notifications
You must be signed in to change notification settings - Fork 49
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
golangci: lint with Go 1.21, 1.22, 1.23 and macOS, Linux, Windows #429
Conversation
that looks helpful - it tells exactly where the issue is in which file, WDYT @rminnich ? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #429 +/- ##
=======================================
Coverage 41.63% 41.63%
=======================================
Files 142 142
Lines 10729 10729
=======================================
Hits 4467 4467
Misses 5394 5394
Partials 868 868 ☔ View full report in Codecov by Sentry. |
as long as it does not block pushing stuff in, this is ok. |
But this advice is not really that useful:
it's a test. I doubt using rand.Read in a test is a problem. So I'm still not quite convinced. |
It's a linter after all, not magical. Telling about deprecation is beneficial imho. It's not blocking anyway... better to have it and be aware if issues such as unhandled errors etc.. |
It possible to use u-root linter configuration https://github.com/u-root/u-root/blob/main/.golangci.yml where we don't block on deprecation issues. Also compared to u-root there are no so much warnings :) |
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.
The consensus being that this is a good idea, let's go!
Signed-off-by: Daniel Maslowski <[email protected]>
9631029
to
0ad463f
Compare
Then let me grab the config from u-root to make it non-blocking. |
No description provided.