Skip to content

Add GitHub Actions CI for lint and tests#15

Merged
pambrose merged 1 commit into
masterfrom
ci-github-actions
May 11, 2026
Merged

Add GitHub Actions CI for lint and tests#15
pambrose merged 1 commit into
masterfrom
ci-github-actions

Conversation

@pambrose
Copy link
Copy Markdown
Contributor

Summary

  • New .github/workflows/ci.yml with two parallel jobs: lint (kotlinter + detekt via make lint) and test (make tests).
  • Triggers on push to master and on pull requests targeting master; a concurrency group cancels stale runs on the same ref.
  • Uses Temurin JDK 17 and gradle/actions/setup-gradle@v4 for Gradle caching.
  • Each job uploads its reports (build/reports/ktlint/, build/reports/detekt/, build/reports/tests/, build/test-results/) as artifacts, always — even on failure — for easier diagnosis.

Test plan

  • Workflow appears under the Actions tab on push of this PR
  • lint job succeeds against the current tree
  • test job succeeds against the current tree
  • Artifacts are uploaded and downloadable from the run summary

🤖 Generated with Claude Code

Add a CI workflow that runs `make lint` and `make tests` in parallel
on push to master and on pull requests, with Gradle caching, JDK 17,
concurrency cancellation, and uploaded reports for both jobs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@pambrose pambrose merged commit 124eebe into master May 11, 2026
4 checks passed
@pambrose pambrose deleted the ci-github-actions branch May 11, 2026 06:16
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