From 96b35b60730c9960a67be47db37e63bd38e24b30 Mon Sep 17 00:00:00 2001 From: Paul Ambrose Date: Fri, 3 Jul 2026 15:08:49 -0700 Subject: [PATCH] Add GitHub Actions CI workflow on JDK 25 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) --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..afc6708 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: CI + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up JDK 25 + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '25' + + - name: Set up Gradle + uses: gradle/actions/setup-gradle@v4 + + - name: Build and test + run: ./gradlew --rerun-tasks check + + - name: Lint (kotlinter + detekt) + run: ./gradlew lintKotlin detekt