actions-marketplace-validations/go-apidiff
Test API compatibility of changes in your Go library
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| base-ref | Base reference for API compatibility comparison (default: base branch) | no | ${{ github.event.pull_request.base.sha || github.event.merge_group.base_sha }} |
| version | Version of go-apidiff to use | no | latest |
| compare-imports | Compare exported API differences in the imports of the repo. | no | false |
| print-compatible | Print compatible API changes | no | true |
| repo-path | Path to root of git repository to compare | no | . |
Outputs
| name | description |
|---|---|
| semver-type | Returns the type (patch, minor, major) of the sementic version that would be required if producing a release. |
| output | Contains diff output information |