Problem
CI does not currently generate or publish a Go coverage report. Sonar therefore reports 0.0% coverage on new code, and contributors cannot inspect a coverage artifact from the workflow.
Scope
- Generate a Go coverage profile in CI.
- Publish a human-readable coverage summary.
- Retain the coverage profile as a downloadable workflow artifact.
- Where supported by the selected Sonar analysis mode, import the Go coverage profile so the Sonar new-code coverage measure is meaningful.
- Document the coverage checks in
CONTRIBUTING.md.
Acceptance criteria
- CI publishes a Go coverage summary.
- CI retains the coverage profile as a downloadable artifact.
- Sonar shows imported Go coverage when the project plan and analysis mode support it.
CONTRIBUTING.md documents the coverage workflow.
mise run validate passes.
Context
Problem
CI does not currently generate or publish a Go coverage report. Sonar therefore reports 0.0% coverage on new code, and contributors cannot inspect a coverage artifact from the workflow.
Scope
CONTRIBUTING.md.Acceptance criteria
CONTRIBUTING.mddocuments the coverage workflow.mise run validatepasses.Context
SONAR_TOKENActions secret and uses Sonar automatic analysis.