Releases: gwatts/go-coverage-action
Releases · gwatts/go-coverage-action
v2.0.0
This update provide the following (should be no breaking changes):
- Update to Node 20 (thanks @marians)
- Adds
test-pkgs
option to explicitly specify packages to test (thanks @khasanovbi) - Adds
notes-ref
option to set an explicit reference to use for git notes instead of the default ofgocoverage
(thanks @raleksandar) - Adds coverage outputs rounded to 1 or 2 decimal places which makes it easier to produce better formatted badges, etc - See
coverage-pct-0dp
,coverage-pct-1dp
,coverage-last-pct-0dp
,coverage-last-pct-1dp
v1.3.0
This update changes the way that totals are calculated by parsing the go.cov output directly. When not using cover-pkg the results should be the same. For cover-pkg the results should now be more inline with what would typically be expected (i.e if pkg1 is completely covered by three different packages, then the result for pkg1 shoudl be 100%). See the readme for more info
Also adds a new ignore-pattern
option so that generated code can be excluded from the coverage calculations and makes some output formatting improvements.
v1.2.0
Adds the cover-pkg
option to optionally set the coverpkg
argument when generating coverage reports
v1.1.2
- Reduce odds of a race with git notes
v1.1.1
Publish to GitHub Marketplace
v1.1.0
- Generates a job summary using GitHub's new summary feature
- Adds an
add-comment
option to optionally disable adding coverage comments to PRs (summary is still generated for the action though) - Fixes a few bugs and cleans up logging a little