Repository navigation
ci: pin JDK 17 for workspace format and test jobs - #2358
Conversation
workspace-format-check and workspace-test run the kmp-sdk Gradle tasks (ktlintFormat, jvmTest, testDebugUnitTest) without setting up Java, so they use the runner's default JDK, which is now 25.0.5. Kotlin 2.1.0 on Gradle 8.13 cannot parse that version and the build fails before running any task, on dev and on every PR. Use Temurin 17, matching kmp-ci.yml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Caution Review failedThe pull request is closed. Walkthrough
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
workspace-format-checkandworkspace-testhave been failing ondevand on every PR since at least 2026-11-24. They run the kmp-sdk Gradle tasks (ktlintFormat,:shared:jvmTest,:composeApp:testDebugUnitTest) without setting up Java, so they get the runner's default JDK, which is now 25.0.5. Kotlin 2.1.0 on Gradle 8.13 can't parse that version, so the build stops immediately withWhat went wrong: 25.0.5.This PR adds
actions/setup-java@v4(Temurin 17) to both jobs, matching every job inkmp-ci.yml.Evidence
devWorkspace CI run (6e05b571, 2026-11-27): both jobs fail with@selfxyz/kmp-sdk format: ./gradlew ktlintFormatand@selfxyz/kmp-sdk-test-app test: ./gradlew :composeApp:testDebugUnitTest, each with "What went wrong: 25.0.5".kmp-ci.ymlruns the same Gradle setup on Temurin 17.Unblocks #2352 and other PRs into
dev.🤖 Generated with Claude Code
Summary by CodeRabbit