Align CI Java matrix with sbt 2.x requirement (JDK 17)#204
Merged
Conversation
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job 'Build and Test'
Align CI Java matrix with sbt 2.x requirement (JDK 17)
Jul 10, 2026
Contributor
|
Tick the box to add this pull request to the merge queue (same as
|
There was a problem hiding this comment.
Pull request overview
Updates the sbt-github-actions source configuration and generated GitHub Actions workflow to run CI on JDK 17 (instead of 11), aligning the Java runtime used in CI with the intended baseline.
Changes:
- Set
githubWorkflowJavaVersionsinbuild.sbtto Temurin 17. - Updated
.github/workflows/ci.ymlmatrix and Java setup step totemurin@17/java-version: 17.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| build.sbt | Updates the sbt-github-actions workflow generator Java version to Temurin 17. |
| .github/workflows/ci.yml | Updates the generated CI workflow matrix and setup-java step to use Temurin 17. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The failing GitHub Actions job
Build and Test (ubuntu-latest, 2.13.15, temurin@11)was caused by running sbt 2.x on JDK 11. This updates CI to use JDK 17, which is the minimum required runtime for sbt 2.x.Root cause addressed
temurin@11, but sbt 2.x requires JDK 17+.Build definition update (source of generated workflow)
build.sbt:githubWorkflowJavaVersions := Seq(JavaSpec.temurin("11"))githubWorkflowJavaVersions := Seq(JavaSpec.temurin("17"))Generated workflow alignment
.github/workflows/ci.ymlJava matrix and setup step from 11 to 17 to keep generated workflow output consistent with sbt configuration.