mingyuans/Go Coverage Threshold Action
Show coverage difference between branches in a pull request
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | path to git repo | — | . |
| coverprofile | path to coverage profile | — | — |
| module | the Go module name | — | — |
| threshold | coverage threshold (0.00-100.00) | — | 0 |
| logger-level | logger level (debug, info, warn, error) | — | info |
| token | GitHub token for API access | — | ${{ github.token }} |
| conf | path to config file | — | gocov-conf.yaml |
| print-uncovered-lines | print uncovered lines | — | false |
Outputs
| name | description |
|---|---|
| gocov | the coverage difference (0.00-100.00) |