Skip to content

Releases: gwatts/go-coverage-action

v2.0.0

24 Mar 15:28
Compare
Choose a tag to compare

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 of gocoverage (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

29 Dec 20:36
Compare
Choose a tag to compare

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

29 Oct 12:17
Compare
Choose a tag to compare

Adds the cover-pkg option to optionally set the coverpkg argument when generating coverage reports

v1.1.2

10 Jun 21:27
Compare
Choose a tag to compare
  • Reduce odds of a race with git notes

v1.1.1

08 Jun 13:38
382d6a6
Compare
Choose a tag to compare

Publish to GitHub Marketplace

v1.1.0

15 May 17:50
Compare
Choose a tag to compare
  • 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

v1.0.0

20 Apr 20:38
Compare
Choose a tag to compare

Initial release