CI/CD
Tracera uses GitHub Actions for continuous integration with automated quality gates.Pipeline Overview
CI Workflow
Trigger: Every push and pull request File:.github/workflows/ci.yml
Steps:
- Checkout code
- Set up Go 1.24
- Cache Go modules and build cache
- Run
make ci(format, vet, lint, test, race detector)
Nightly Workflow
Trigger: Scheduled (nightly) File:.github/workflows/nightly.yml
Steps:
- Everything in CI, plus:
govulncheck— scans for known vulnerabilities in dependencies- Coverage gate — ensures test coverage meets threshold
- Benchmarks — tracks performance regressions
- Release check — verifies the production binary builds correctly
- Docker-based checks — migration validation when available
Dependabot
File:.github/dependabot.yml
Automatically creates pull requests for:
| Ecosystem | Frequency | Purpose |
|---|---|---|
| Go modules | Weekly | Keep Go dependencies up to date |
| GitHub Actions | Weekly | Keep CI/CD actions current |