- Start PostgreSQL for local development:
docker-compose up -d- Download Go dependencies:
go mod download- Run the verification commands before opening a pull request:
go test ./...
go test ./test/integration/... -tags integration
golangci-lint run ./...
go build -o bin/dbfork ./cmd/dbfork/cmd/dbfork: CLI entry pointinternal/cli: Cobra commandsinternal/postgres: PostgreSQL operations and schema diff helpersinternal/state: Local branch metadata storeinternal/config: Config loadinginternal/output: Terminal rendererstest/integration: Tagged testcontainers-based integration suite
- Keep changes focused and small.
- Add or update tests with behavior changes.
- Use conventional commits for local history.
- Do not commit secrets,
.envfiles, or generated binaries.
- Dry-run a release locally with
make release-dry. - Tag releases with
v*to trigger the GitHub Actions release workflow.