Skip to content

Use Java 25 for CI builds - #1281

Merged
jaydeluca merged 2 commits into
open-telemetry:mainfrom
trask:trask-audit-java-lts-policy
Sep 22, 2026
Merged

jaydeluca merged 2 commits into
open-telemetry:mainfrom
trask:trask-audit-java-lts-policy

Conversation

@trask

@trask trask commented Sep 22, 2026

Copy link
Copy Markdown
Member

Updates CI build and analysis jobs to run Gradle on the latest LTS Java major while preserving each module's explicit Java toolchain and bytecode target.

  • Uses floating '25' values in the build, CodeQL, OATS, and Prometheus workflows
  • Makes the CodeQL setup label version-neutral so future Java updates do not leave stale text

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

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.

Copilot review overview

🟢 Approval recommended

All reviewed workflow updates are consistent, with no unresolved issues.

Review effort: Lite
Findings: None

What changed in this PR

Updates CI and analysis workflows to run Gradle on Java 25 while preserving module-specific toolchains and bytecode targets.

Changes:

  • Upgrades Build, CodeQL, OATS, and Prometheus workflows to Java 25.
  • Makes the CodeQL setup label version-neutral.
File Description
.github/​workflows/​prometheus-test.yml Uses Java 25 for Prometheus tests.
.github/​workflows/​oats-tests.yml Uses Java 25 for OATS tests.
.github/​workflows/​codeql.yml Uses Java 25 and a version-neutral setup label.
.github/​workflows/​build.yml Uses Java 25 for build jobs.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@trask
trask marked this pull request as ready for review September 22, 2026 17:10
@trask
trask requested review from a team as code owners September 22, 2026 17:10
@jaydeluca
jaydeluca merged commit 6960ead into open-telemetry:main Sep 22, 2026
16 checks passed
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