Serge Huber created UNOMI-966:
---------------------------------

             Summary: Upgrade remaining GitHub Actions to Node 24–compatible 
setup-java@v5
                 Key: UNOMI-966
                 URL: https://issues.apache.org/jira/browse/UNOMI-966
             Project: Apache Unomi
          Issue Type: Improvement
          Components: unomi(-core)
    Affects Versions: unomi-3.1.0
            Reporter: Serge Huber
            Assignee: Serge Huber
             Fix For: unomi-3.1.0


h2. Summary

Finish the GitHub Actions runtime upgrade so *all* Unomi workflows use Node 
24–compatible action majors. Most workflows were bumped in [#795|#795] 
({{actions/checkout@v5}}, {{actions/setup-java@v5}}, 
{{actions/upload-artifact@v6}}); two workflows still pin the legacy 
{{actions/setup-java@v1}} and need the same bump plus an explicit Temurin 
distribution.

h2. Motivation

* GitHub is forcing the Node 24 runner for Actions; Node 20–based action majors 
warn or break.
* {{setup-java@v1}} is long out of support and does not take a {{distribution}} 
input (required by modern setup-java).
* Keeps docs deploy / CodeQL Java aligned with the build-and-test workflow 
already on v5/v6.

h2. Scope

Already on master (via [#795|#795]):

* {{unomi-ci-build-tests.yml}} — checkout@v5, setup-java@v5, upload-artifact@v6
* {{unomi-ci-docs.yml}} — same
* CodeQL JS/Java checkouts — checkout@v5

Still needed (local WIP on {{master}} working tree):

# {{.github/workflows/unomi-ci-docs-deploy.yml}} — both jobs: 
{{actions/setup-java@v1}} → {{@v5}} with {{distribution: temurin}}, 
{{java-version: 17}} (keep Nexus {{server-id}} / credentials inputs)
# {{.github/workflows/codeql-analysis-java.yml}} — {{actions/setup-java@v1}} → 
{{@v5}} with {{distribution: temurin}}, {{java-version: 17}}

Out of scope:

* Changing JDK version (stay on 17)
* Dependabot for {{github-actions}} ecosystem (optional follow-up)
* Third-party action bumps beyond the official {{actions/*}} majors already 
chosen in #795 (e.g. {{mikepenz/action-junit-report@v3}})

h2. Acceptance criteria

* No workflow under {{.github/workflows/}} references {{actions/setup-java@v1}} 
(or other Node 20–only official action majors we already replaced).
* Docs-deploy and CodeQL Java jobs still install JDK 17 (Temurin) and complete 
successfully on {{master}} / a smoke PR.
* Snapshot / Docker publish credentials wiring in docs-deploy remains unchanged 
aside from the setup-java major bump.

h2. Related

* [#795|#795] — UNOMI-875 PR2 dependency hygiene (included initial Actions → 
Node 24 bumps)
* [UNOMI-937] — earlier CI / {{build.sh}} alignment (context only)




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to