Skip to content

ci: update workflows for temurin and node 24 actions#1063

Merged
piotr-iohk merged 2 commits into
masterfrom
ci/setup-java-temurin
Jul 7, 2026
Merged

ci: update workflows for temurin and node 24 actions#1063
piotr-iohk merged 2 commits into
masterfrom
ci/setup-java-temurin

Conversation

@piotr-iohk

@piotr-iohk piotr-iohk commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Fixes #1021

Description

CI cleanup for GitHub Actions deprecations on ubuntu-latest:

  1. setup-java: replace deprecated distribution: 'adopt' with 'temurin' in all workflows.
  2. Node 24 actions: bump third-party and artifact actions that still target Node.js 20:
    • dorny/paths-filter@v3@v4
    • actions/upload-artifact@v6@v7
    • actions/download-artifact@v6@v7

This addresses warnings seen in E2E run #3629 and E2E Migration run #185.

Updated workflows: ci.yml, lint.yml, ui-tests.yml, e2e.yml, e2e_migration.yml, release.yml, release-internal.yml.

QA Notes

  • CI should pass without AdoptOpenJDK or Node.js 20 deprecation warnings in affected jobs.
  • No app or build logic changes; Java and Node versions used by test steps are unchanged.

Switch GitHub Actions setup-java from deprecated adopt
distribution to temurin across all workflows.

Fixes #1021

Co-authored-by: Cursor <cursoragent@cursor.com>
@greptile-apps

greptile-apps Bot commented Jul 7, 2026

Copy link
Copy Markdown

Greptile Summary

This PR updates the Java distribution used by GitHub Actions workflows.

  • Replaces deprecated adopt with temurin in all actions/setup-java@v5 steps.
  • Keeps the Java version at 17 across CI, lint, UI test, e2e, migration, and release workflows.
  • Leaves Gradle, Android, release, and app build logic unchanged.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed workflow configuration.
  • temurin is the supported replacement for adopt in the changed setup-java steps.
  • The Java version, Gradle commands, cache keys, release steps, and app build settings stay unchanged.

Important Files Changed

Filename Overview
.github/workflows/ci.yml Updates the CI Java setup distribution to temurin for Java 17.
.github/workflows/e2e.yml Updates both e2e Java setup steps to temurin for Java 17.
.github/workflows/e2e_migration.yml Updates the migration e2e Java setup distribution to temurin for Java 17.
.github/workflows/lint.yml Updates the lint workflow Java setup distribution to temurin for Java 17.
.github/workflows/release-internal.yml Updates the internal release workflow Java setup distribution to temurin for Java 17.
.github/workflows/release.yml Updates the release workflow Java setup distribution to temurin for Java 17.
.github/workflows/ui-tests.yml Updates the UI test workflow Java setup distribution to temurin for Java 17.

Reviews (1): Last reviewed commit: "ci: use temurin jdk in setup-java" | Re-trigger Greptile

Upgrade paths-filter to v4 and artifact actions to v7 so
workflows stop warning about Node.js 20 on ubuntu-latest.

Co-authored-by: Cursor <cursoragent@cursor.com>
@piotr-iohk piotr-iohk changed the title ci: use temurin jdk in setup-java ci: update workflows for temurin and node 24 actions Jul 7, 2026
@piotr-iohk piotr-iohk requested a review from jvsena42 July 7, 2026 08:44
@piotr-iohk piotr-iohk self-assigned this Jul 7, 2026
@piotr-iohk piotr-iohk merged commit 0bcd342 into master Jul 7, 2026
31 of 33 checks passed
@piotr-iohk piotr-iohk deleted the ci/setup-java-temurin branch July 7, 2026 10:35
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.

ci: Update setup-java in workflows to use temurin jdk

2 participants