You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a CI workflow (build, vet, test, govulncheck) #10
area:backendGo / MySQL sidegood-first-issueSmall, well-scoped, no deep system knowledge required. Start here.help-wantedWe would especially like outside help on this.
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.
area:backendGo / MySQL sidegood-first-issueSmall, well-scoped, no deep system knowledge required. Start here.help-wantedWe would especially like outside help on this.
Activity
docs: update state after closing 9 of 11 issues