This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push:
new ae7c376 [SPARK-53826] Use Java 25 in GitHub Action jobs consistently
ae7c376 is described below
commit ae7c376d695eb1e3748bc6d641497b216b9533f3
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Tue Oct 7 15:26:48 2025 -0700
[SPARK-53826] Use Java 25 in GitHub Action jobs consistently
### What changes were proposed in this pull request?
This PR aims to use Java 25 in `GitHub Action` jobs consistently.
-
https://github.com/apache/spark-kubernetes-operator/actions/workflows/build_and_test.yml
-
https://github.com/apache/spark-kubernetes-operator/actions/workflows/publish_snapshot_chart.yml
### Why are the changes needed?
We had better use Java 25 by default because our tool chain is `Java 25`.
- #336
**BEFORE**
```
$ git grep 'java-version: 17' | wc -l
3
$ git grep 'java-version: 21' | wc -l
1
```
**AFTER**
```
$ git grep 'java-version: 17' | wc -l
0
$ git grep 'java-version: 21' | wc -l
0
```
### Does this PR introduce _any_ user-facing change?
No behavior change.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #374 from dongjoon-hyun/SPARK-53826.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.github/workflows/build_and_test.yml | 12 ++++++------
.github/workflows/publish_snapshot_chart.yml | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/build_and_test.yml
b/.github/workflows/build_and_test.yml
index 94f090c..aed7cbe 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -55,10 +55,10 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v5
- - name: Set up JDK 17
+ - name: Set up JDK 25
uses: actions/setup-java@v4
with:
- java-version: 17
+ java-version: 25
distribution: 'zulu'
cache: 'gradle'
- name: Build Operator Image
@@ -98,10 +98,10 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v5
- - name: Set up JDK 21
+ - name: Set up JDK 25
uses: actions/setup-java@v4
with:
- java-version: 21
+ java-version: 25
distribution: 'zulu'
cache: 'gradle'
- name: Set up Minikube
@@ -163,10 +163,10 @@ jobs:
DEFAULT_BRANCH: main
VALIDATE_MARKDOWN: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- - name: Set up JDK 17
+ - name: Set up JDK 25
uses: actions/setup-java@v4
with:
- java-version: 17
+ java-version: 25
distribution: 'zulu'
cache: 'gradle'
- name: Linters
diff --git a/.github/workflows/publish_snapshot_chart.yml
b/.github/workflows/publish_snapshot_chart.yml
index e32c6b8..8a3a088 100644
--- a/.github/workflows/publish_snapshot_chart.yml
+++ b/.github/workflows/publish_snapshot_chart.yml
@@ -26,10 +26,10 @@ jobs:
uses: actions/checkout@v5
with:
ref: ${{ matrix.branch }}
- - name: Set up JDK 17
+ - name: Set up JDK 25
uses: actions/setup-java@v4
with:
- java-version: 17
+ java-version: 25
distribution: 'zulu'
cache: 'gradle'
- name: Build Operator
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]