-
Notifications
You must be signed in to change notification settings - Fork 5
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
Include security check and coverage info in gh workflow #10
Conversation
if err != nil { | ||
panic(err) | ||
} | ||
if !idx.IsInt64() { |
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.
Is this really needed after using big.NewInt(int64(numNodes))
above? This is something for a test maybe?
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.
it's not really needed, i just added it as a defensive check, not a big deal imo
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.
Minor comment. Not a blocker.
Test Coverage
|
Enable
gosec
for security-checks, enableunparam
and display coverage info in a PR comment.