chore: add pre-commit config and update CI pipeline #55

Merged
benvin merged 1 commits from benvin/pre-commit-config into master 2026-06-23 23:21:09 +10:00

1 Commits

Author SHA1 Message Date
unkinben 75d58f31c9 chore: add pre-commit config and update CI pipeline
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
- .pre-commit-config.yaml with standard Go hooks: gofmt, go vet,
  go mod tidy, plus trailing whitespace, end-of-file, yaml check,
  large file check, merge conflict check
- go vet runs as a local hook with ./... to work correctly with
  Go modules (the dnephin hook runs per-file which breaks)
- Woodpecker pre-commit pipeline updated to use almalinux9-gobuilder
  image with uvx pre-commit run --all-files
- Pre-commit hooks installed into the repo
2026-06-23 23:17:30 +10:00