Skip to content

ci: GitHub Actions build/test + CodeQL + Dependabot - #1

Merged
bendns merged 5 commits into
mainfrom
feat/ci
Apr 20, 2026
Merged

bendns merged 5 commits into
mainfrom
feat/ci

Conversation

@bendns

@bendns bendns commented Apr 20, 2026

Copy link
Copy Markdown
Owner

Summary

Set up CI before going public.

  • `ci.yml` — on push-to-main and every PR, runs `xcodebuild build` + `xcodebuild test` on `macos-15`. Concurrency group cancels superseded runs.
  • `codeql.yml` — Swift SAST on push-to-main, PRs, and weekly cron. Free once the repo is public.
  • `dependabot.yml` — weekly updates for GitHub Actions versions (no SPM deps in the project).

All three set `permissions: contents: read` (or minimum needed). CI uses ad-hoc signing (`CODE_SIGN_IDENTITY="-"`, `CODE_SIGNING_REQUIRED=NO`) to match local dev.

Test plan

  • CI workflow runs green on this PR (33 / 33 tests)
  • CodeQL workflow completes without errors
  • Dependabot picks up new action versions next week

After merging

Once this is in, the recommended post-public checklist:

  • Flip repo visibility to public
  • Enable branch protection on `main` (requires PR review, require `CI` status check, no force push)
  • Verify secret scanning + push protection auto-enabled (GitHub does this for public repos)
  • Verify Dependabot alerts auto-enabled

Parts of this fix were generated with Claude Code assistance.

@bendns
bendns marked this pull request as ready for review April 20, 2026 12:58
@bendns
bendns merged commit 2bd3dc2 into main Apr 20, 2026
1 check passed
@bendns
bendns deleted the feat/ci branch April 20, 2026 12:58
bendns added a commit that referenced this pull request Apr 20, 2026
ci: GitHub Actions build/test + CodeQL + Dependabot
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.

1 participant