tj-actions/Go Coverage Badge
Generate coverage badge for go projects
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| filename | File containing the tests output | yes | coverage.out |
| color | Color of the badge - green/yellow/red | no | — |
| green | At what percentage does the badge become green instead of yellow (default: 70) | no | — |
| target | Target file (default "README.md") | no | — |
| text | Text on the left side of the badge (default: "Coverage") | no | — |
| value | Text on the right side of the badge | no | — |
| yellow | At what percentage does the badge become yellow instead of red (default 30) | no | — |
| link | Optional URL when you click the badge | no | — |
Outputs
no outputs