-
Notifications
You must be signed in to change notification settings - Fork 250
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
switch to math/rand/v2 #852
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #852 +/- ##
==========================================
- Coverage 62.63% 62.60% -0.03%
==========================================
Files 209 209
Lines 18952 18946 -6
==========================================
- Hits 11870 11862 -8
- Misses 5982 5983 +1
- Partials 1100 1101 +1 ☔ View full report in Codecov by Sentry. |
Consensus from after standup discussion: The linting process should maintain the same behavior as the CI/CD pipeline, so we have two options:
|
@libotony shouldn't gosec be fully configurable inside golanglint? |
@libotony looks like we just need to update to latest golanglint: https://github.com/golangci/golangci-lint/blob/v1.61.0/go.mod#L95 |
6f8e578
to
413ca46
Compare
413ca46
to
cb55e6b
Compare
I think this got a bit muddled over the last few weeks. AFAIR the decision was to maintain the current linter while updating it as need AND introduce a new GH action specific for gosec running at the latest version. |
02b14ff
to
d198040
Compare
Description
This PR switched to math/rand/v2, which enhanced the randomness along with improved API design. Also moved the gosec action into lint.yaml. Ref https://go.dev/blog/randv2
Checklist: