stevenacoffman/Go Beautiful HTML Coverage

Track Go code coverage in pull requests with a beautiful HTML preview.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
repositoryRepository name with owner that hosts the coverage branch, e.g. yourorg/yourrepo. Defaults to the repository running the workflow. Override to centralise coverage files from multiple repos in a single dedicated repo. no${{ github.repository }}
branchBranch to checkout or create for storing coverage files. Must match the branch configured in GitHub Pages (Settings → Pages → Deploy from a branch). nocover
tokenGitHub token used for pushing to the coverage branch and posting PR comments. Requires contents:write on the repository that hosts the coverage branch and pull-requests:write on the repository being tested. no${{ github.token }}
pathRelative path to the Go module within the repository. The cover.out coverage profile must exist at this path after the test step runs. Useful for monorepos with multiple Go modules. no./
thresholdMinimum acceptable coverage percentage (e.g. 80). The action fails when total coverage falls below this value. Set to 0 (default) to skip the threshold check. no0

no outputs