Run all CI validations locally before committing changes:
make validate-all
This runs the same checks as CI:
- go mod tidy — ensures
go.mod/go.sumare clean - Lint — runs
golangci-lint(see.golangci.ymlfor configuration) - Tests — runs all unit tests with race detection (
go test -race ./...) - ShellCheck — validates all shell scripts
If any step fails, fix the issue and re-run before committing.
- Go 1.25.6+
- golangci-lint v2.7.2+ — Install instructions
- ShellCheck —
brew install shellcheck(macOS) orapt-get install shellcheck(Linux)
- README.md — project overview, building from source, API examples, and Makefile usage
- METRICS.md — aggregated metrics endpoint documentation
- Model CLI README — CLI plugin (
docker model) documentation - Helm chart — Kubernetes deployment guide
- Model Specification — model packaging specification
- Docker Docs — official Docker Model Runner documentation