Skip to content

Align CI Java matrix with sbt 2.x requirement (JDK 17)#204

Merged
nafg merged 3 commits into
mainfrom
copilot/fix-github-actions-job-failure
Jul 10, 2026
Merged

Align CI Java matrix with sbt 2.x requirement (JDK 17)#204
nafg merged 3 commits into
mainfrom
copilot/fix-github-actions-job-failure

Conversation

Copilot AI commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

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

    • CI workflow matrix targeted temurin@11, but sbt 2.x requires JDK 17+.
  • Build definition update (source of generated workflow)

    • Updated build.sbt:
      • githubWorkflowJavaVersions := Seq(JavaSpec.temurin("11"))
      • githubWorkflowJavaVersions := Seq(JavaSpec.temurin("17"))
  • Generated workflow alignment

    • Updated .github/workflows/ci.yml Java matrix and setup step from 11 to 17 to keep generated workflow output consistent with sbt configuration.
// build.sbt
githubWorkflowJavaVersions := Seq(JavaSpec.temurin("17"))

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
Copilot finished work on behalf of nafg July 10, 2026 02:47
Copilot AI requested a review from nafg July 10, 2026 02:47
@nafg nafg marked this pull request as ready for review July 10, 2026 03:39
@nafg nafg requested a review from Copilot July 10, 2026 03:39
@mergify

mergify Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 githubWorkflowJavaVersions in build.sbt to Temurin 17.
  • Updated .github/workflows/ci.yml matrix and Java setup step to temurin@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.

Comment thread .github/workflows/ci.yml
Copilot finished work on behalf of nafg July 10, 2026 03:44
@nafg nafg merged commit 1fcc81f into main Jul 10, 2026
6 checks passed
@nafg nafg deleted the copilot/fix-github-actions-job-failure branch July 10, 2026 03:52
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.

3 participants