Files
dbsetup/.gitea/workflows/pre-commit.yaml
T
argoyle c443c48690
dbsetup / vulnerabilities (pull_request) Successful in 5m29s
dbsetup / test (pull_request) Successful in 5m35s
pre-commit / pre-commit (pull_request) Successful in 3m38s
ci: add pre-commit and release workflows
- Add pre-commit workflow to run hooks on PRs and main branch pushes
- Add release workflow using shared unboundsoftware release template

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 08:41:38 +01:00

26 lines
528 B
YAML

name: pre-commit
permissions: read-all
on:
pull_request:
push:
branches:
- main
jobs:
pre-commit:
runs-on: ubuntu-latest
env:
SKIP: no-commit-to-branch
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: 'stable'
- uses: actions/setup-python@v5
with:
python-version: '3.14'
- name: Install goimports
run: go install golang.org/x/tools/cmd/goimports@latest
- uses: pre-commit/action@v3.0.1