Skip to content

Add a CI workflow (build, vet, test, govulncheck) #10

Closed

Description

@jbrahy

There is no CI. The test gate lives entirely in the local Makefile:

  • make test-go — go test ./... -race -cover
  • make test-ios — xcodegen + xcodebuild on a resolved simulator
  • make test — both; make deploy depends on it
  • make hooks — installs the same gate as a pre-push hook

That works for a solo maintainer and does nothing for a pull request from a stranger. Right now a contributor has no way to know their PR passes before a human runs it locally.

What to do

Add .github/workflows/ci.yml running on push and pull_request:

  • go build ./..., go vet ./..., go test ./... -race -cover
  • gofmt -l . — fail if output is non-empty
  • govulncheck ./...
  • MySQL 8 as a service container for the tests that need a database
  • Pin the Go version to match go.mod rather than stable

Leave the iOS suite out of this issue. It needs a macOS runner and an Xcode/simulator-runtime pairing that is currently fragile (an Xcode update recently broke it locally by shipping an SDK whose simulator runtime was not installed). Worth doing, but as its own PR.

Keep coverage reporting informational at first — a hard threshold on a young project mostly generates noise.

Activity

  1. added
    good-first-issue
    help-wanted
    area:backend
    on Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:backendgood-first-issuehelp-wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions