actions-marketplace-validations/Golang Static Analysis Checker
A configurable static code analysis checker for Golang
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| run | execute comma-separated command(s). [errcheck/fmt/imports/ineffassign/lint/misspell/sec/shadow/staticcheck/vet] | yes | — |
| directory | action working directory. | no | . |
| comment | send comment to PR (or commit) if true. | no | true |
| token | GitHub token. this is required when comment is true. | no | "" |
| flags | add flags | no | "" |
| ignore-defer | if this is true, do not detect 'defer' with error. This is only valid when run is errcheck. | no | false |
| max-complexity | the highest cyclomatic complexity to ignore with gocyclo | no | 15 |
| go-private-mod-username | login username for go dependencies from private repos | no | "" |
| go-private-mod-password | password or GitHub personal access token for go dependencies from private repos | no | "" |
| go-private-mod-org-path | git private organization url. eg. github.com/my-org | no | "" |
Outputs
no outputs