Skip to content

Add GitHub Actions CI workflow on JDK 25#10

Merged
pambrose merged 1 commit into
masterfrom
add-ci-workflow
Jul 3, 2026
Merged

Add GitHub Actions CI workflow on JDK 25#10
pambrose merged 1 commit into
masterfrom
add-ci-workflow

Conversation

@pambrose

@pambrose pambrose commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Adds .github/workflows/ci.yml — the repo had no CI workflow previously.

What it does

  • Triggers: push and pull requests to master.
  • JDK: Temurin 25 (actions/setup-java@v4), matching the project's JVM 25 toolchain.
  • Gradle: gradle/actions/setup-gradle@v4 for wrapper execution and build/configuration-cache caching.
  • Steps:
    • ./gradlew --rerun-tasks check — build + all challenge tests
    • ./gradlew lintKotlin detekt — kotlinter + detekt

Notes

  • The workflow uses no untrusted github.event.* input; every run: is a static command, so there's no command/ref-injection surface.
  • check already wires in lintKotlin/detekt, so the explicit lint step is mostly redundant but gives a clearly-labeled lint result in the CI log.

🤖 Generated with Claude Code

Build + test (./gradlew --rerun-tasks check) and lint (lintKotlin detekt)
on push and PRs to master, using Temurin JDK 25 to match the project's
JVM 25 toolchain. Uses gradle/actions/setup-gradle for wrapper and cache
handling.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@pambrose
pambrose merged commit 8346cac into master Jul 3, 2026
2 checks passed
@pambrose
pambrose deleted the add-ci-workflow branch July 3, 2026 22:12
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