fix(deps): update module github.com/boumenot/gocover-cobertura to v1.5.0
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| github.com/boumenot/gocover-cobertura | v1.4.0 → v1.5.0 |
Release Notes
boumenot/gocover-cobertura (github.com/boumenot/gocover-cobertura)
v1.5.0
What's Changed
This release focuses on more accurate Cobertura output, better diagnostics for CI failures, and a much stronger regression safety net.
Added
- Added
-path DIRto resolve packages from an explicit project directory, which helps monorepos and CI jobs that rungocover-coberturaoutside the module root. - Added
-strictto fail the conversion when profiles are skipped because package or module information cannot be resolved. - Added support for package-level variable functions in coverage output.
- Added optional
-ignore-non-code-linesbehavior and regression goldens so comment-only and other non-code lines can be excluded from coverage calculations.
Fixed
- Deduplicate overlapping coverage blocks correctly, including
-coverpkgcases where multiple blocks map to the same line. - Improve missing package/module diagnostics by including the affected filename.
- Improve inconsistent
NumStmterrors by including the relevant file and line range. - Avoid a panic when package loading returns packages with nil module information.
- Improve hit aggregation for
countcoverage mode and multi-file coverage profiles.
Documentation
- Documented
-path,-strict, build tag handling, Windows stdin redirection, troubleshooting for skipped profiles, and why branch coverage is reported as zero.
Maintenance
- Added a Linux-only regression suite with real coverage profiles from gorilla/mux, spf13/cobra, approvals/go-approval-tests, junegunn/fzf, stretchr/testify, prometheus, and kubernetes.
- Updated CI to GitHub Actions
checkout@v4andsetup-go@v5, with Go 1.25. - Refreshed module dependencies and vendored dependencies for Go 1.25.
- Removed the unused Travis configuration and dead
Boundary/Boundariescode.
Contributors
Thanks to @ajuckel, @tony2001, @adombeck, @secDre4mer, and @thatcode for contributions included in this release.
Full Changelog: https://github.com/boumenot/gocover-cobertura/compare/v1.4.0...v1.5.0
Configuration
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
- If you want to rebase/retry this MR, check this box
This MR has been generated by Mend Renovate.