blairham/go-pre-commit
Install go-pre-commit (a fast Go reimplementation of pre-commit) and run hooks. Drop-in replacement for pre-commit/action with no Python setup.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | Release of go-pre-commit to install (e.g. "v4.5.4"), or "latest". | no | latest |
| extra_args | Extra arguments passed to `pre-commit run`. | no | --all-files |
| cache | Cache hook environments (~/.cache/pre-commit) between runs. | no | true |
| install-only | Install the binary onto PATH (and optionally cache) but skip the `pre-commit run` step. For workflows that drive pre-commit themselves (diff-scoped runs, `install-hooks` cache seeding, custom log capture). | no | false |
Outputs
no outputs