actions-marketplace-validations/mod-tidy-action
Run go mod tidy on one or more go.mod files
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| gomods | go.mod files to run go mod tidy. Can be glob patterns one per line | yes | go.mod |
| gosum_only | fail if files other than go.sum are modified during tidy | no | false |
| gomodsum_only | fail if files other than go.{mod,sum} are modified during tidy | no | false |
Outputs
| name | description |
|---|---|
| changedfiles | List of files that were changed, one per line |