CI-CD
GitHub Action and CI adoption strategy
Local-only enforcement is a nicety; CI is the actual contract.
Compose with existing pipeline
jobs:
codeproof:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install -e ".[checkers]"
- run: codeproof scan . --fail-under 70
- run: codeproof report sarif || true
with:
name: codeproof-sarif
Gate placement
- Local pre-push hook; catches trivial issues.
- CI required check; blocks merge.
- Release gate; bars shipping.
- Nightly full audit; slower but comprehensive.