Skip to content

Add CI checks for Go, OpenAPI, Docker, and Compose smoke#39

Draft
mithileshchellappan wants to merge 1 commit into
mainfrom
issue-9-ci-checks
Draft

Add CI checks for Go, OpenAPI, Docker, and Compose smoke#39
mithileshchellappan wants to merge 1 commit into
mainfrom
issue-9-ci-checks

Conversation

@mithileshchellappan

Copy link
Copy Markdown
Owner

Summary

Adds the v0.1.0 trust-base CI workflow for Pushboy:

  • Go formatting, module tidiness, tests, race tests, vet, and binary build
  • OpenAPI structural validation with pinned Redocly CLI
  • Docker image build plus Compose smoke against Postgres
  • DB-backed smoke checks for user creation, user lookup, broadcast topic creation, and migrations

Closes #9.

Verification

  • gofmt -l $(git ls-files '*.go')
  • go mod tidy -diff
  • go test ./...
  • go test -race ./...
  • go vet ./...
  • go build -trimpath -o /tmp/pushboy ./cmd/pushboy
  • npx --yes @redocly/cli@2.30.6 lint --format=github-actions docs/openapi.yaml
  • git diff --check

Docker is not available in my local shell, so the Docker/Compose smoke is expected to be proven by this PR's GitHub Actions run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add CI checks for Go, OpenAPI, Docker, and Compose smoke

1 participant