Skip to content

Add CI workflow for pull requests#2

Merged
jvsena42 merged 2 commits intomainfrom
chore/ci
Mar 21, 2026
Merged

Add CI workflow for pull requests#2
jvsena42 merged 2 commits intomainfrom
chore/ci

Conversation

@jvsena42
Copy link
Copy Markdown
Owner

Summary

Add a GitHub Actions CI workflow that runs on pull requests to automate code quality checks and builds.

Changes

  • Add .github/workflows/ci.yml with a check job that runs on PRs (skips drafts)
  • Configures JDK 17 + Gradle caching via official actions
  • Runs Detekt, shared module compilation, shared unit tests, and Android debug APK build
  • Adds concurrency control to cancel in-progress runs on new pushes

Test plan

  • Open a PR and verify the CI workflow triggers
  • Push a new commit to the PR and verify the previous run is cancelled
  • Mark a PR as draft and verify the workflow is skipped

Checklist

  • ./gradlew detekt passes
  • Tested on Android
  • Tested on iOS
  • Updated documentation (if applicable)

@jvsena42 jvsena42 self-assigned this Mar 21, 2026
@jvsena42 jvsena42 merged commit f855895 into main Mar 21, 2026
1 check passed
@jvsena42 jvsena42 deleted the chore/ci branch March 21, 2026 16:00
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