k1low/gostyle-action
Run gostyle
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | The GitHub token | no | ${{ github.token }} |
| repo-checkout | Checkout the repository | no | false |
| setup-go | Set up Go | no | false |
| go-version-input | Version of Go to use for gostyle | no | — |
| check-latest | Set this option to true if you want the action to always check for the latest available Go version that satisfies the version spec | no | false |
| cache | Used to specify whether Go caching is needed. Set to true, if you would like to enable caching. | no | true |
| go-package | Go Package to scan with gostyle | no | ./... |
| go-version-file | Path to the go.mod or go.work file. | no | — |
| use-reviewdog | Use reviewdog | no | true |
| reviewdog-version | Version of reviewdog | no | latest |
| reviewdog-reporter | Reporter of reviewdog command [github-pr-check,github-pr-review,github-check]. | no | github-pr-check |
| reviewdog-tool-name | Tool name to use for reviewdog reporter | no | gostyle |
| reviewdog-filter-mode | Filtering for the reviewdog command [added,diff_context,file,nofilter]. | no | added |
| work-dir | Directory in which to run gostyle | no | . |
| config-file | Config file path for gostyle. | no | "" |
| flags | Flags for gostyle | no | "" |
| version | Version of gostyle | no | latest |
| fail-on-error | Fail on gostyle error | no | true |
Outputs
no outputs