pivovarit/gofmt-action
Check that Go code is properly formatted and display results with inline annotations
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| formatter | Formatter to use: gofmt or goimports | no | gofmt |
| working-directory | Directory to check (default: repository root) | no | . |
| post-comment | Post a PR comment with the diff (requires GITHUB_TOKEN) | no | true |
| autofix | Automatically commit and push formatting fixes to the PR branch | no | false |
Outputs
no outputs