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

Creates code coverage github action #131

Merged
merged 4 commits into from
Mar 15, 2024

Conversation

EthanHeilman
Copy link
Member

@EthanHeilman EthanHeilman commented Mar 15, 2024

Adds the ncruces/go-coverage-report@v0 code coverage tool to our github actions workflow. This is only run after a PR is merged to main. It is not run on every pull request.

@EthanHeilman EthanHeilman self-assigned this Mar 15, 2024
@EthanHeilman EthanHeilman added the enhancement New feature or request label Mar 15, 2024
@EthanHeilman EthanHeilman marked this pull request as ready for review March 15, 2024 17:05
.github/workflows/go.yml Outdated Show resolved Hide resolved
Comment on lines 8 to 11
permissions:
contents: write
pages: write

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what are these permissions for? I see they are required for ncruces/go-coverage-report in the other workflow

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent catch! I created the second workflow specifically so that the go.yml wouldn't get these permissions.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!

EthanHeilman and others added 2 commits March 15, 2024 13:30
Co-authored-by: Joel Kamp <mrjoelkamp@gmail.com>
Signed-off-by: Ethan Heilman <ethan.r.heilman@gmail.com>
@EthanHeilman EthanHeilman merged commit 733122b into openpubkey:main Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants