Skip to content
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

Merged
merged 10 commits into from
Jul 1, 2024

Conversation

dimkouv
Copy link
Contributor

@dimkouv dimkouv commented Jul 1, 2024

Enable gosec for security-checks, enable unparam and display coverage info in a PR comment.

e2e pipeline is kept ~40sec

@smartcontractkit smartcontractkit deleted a comment from github-actions bot Jul 1, 2024
@dimkouv dimkouv changed the title Improve gh workflow Include security check and coverage info in gh workflow Jul 1, 2024
@dimkouv dimkouv requested review from makramkd, asoliman92 and winder July 1, 2024 09:27
if err != nil {
panic(err)
}
if !idx.IsInt64() {
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor

@asoliman92 asoliman92 left a 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.

Copy link

github-actions bot commented Jul 1, 2024

Test Coverage

Branch Coverage
dk/gosec 66.2%
ccip-develop 66.1%

@dimkouv dimkouv merged commit a4e2427 into ccip-develop Jul 1, 2024
1 check passed
@mateusz-sekara mateusz-sekara deleted the dk/gosec branch November 8, 2024 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants