Skip to content

Commit 5b0a7bc

Browse files
committed
[SPARK-53462] Upgrade actions/checkout to v5
### What changes were proposed in this pull request? This PR aims to upgrade `actions/checkout` to v5. ### Why are the changes needed? `v5.0.0` was released 3 weeks ago with a major improvement upgrading `NodeJS` from `20` to `24`, which will be LTS soon. - https://github.com/actions/checkout/releases/tag/v5.0.0 - actions/checkout#2226 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs and check manually. **BEFORE** ``` $ git grep actions/checkoutv4 .github/ | wc -l 8 ``` **AFTER** ``` $ git grep actions/checkoutv4 .github/ | wc -l 0 ``` ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#306 from dongjoon-hyun/SPARK-53462. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent b9a0c84 commit 5b0a7bc

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/build_and_test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
timeout-minutes: 20
2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v5
2424
- name: Check license header
2525
uses: apache/skywalking-eyes@main
2626
env:
@@ -38,7 +38,7 @@ jobs:
3838
java-version: [ 17, 21, 24 ]
3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@v5
4242
- name: Set up JDK ${{ matrix.java-version }}
4343
uses: actions/setup-java@v4
4444
with:
@@ -54,7 +54,7 @@ jobs:
5454
timeout-minutes: 20
5555
steps:
5656
- name: Checkout repository
57-
uses: actions/checkout@v4
57+
uses: actions/checkout@v5
5858
- name: Set up JDK 17
5959
uses: actions/setup-java@v4
6060
with:
@@ -97,7 +97,7 @@ jobs:
9797
test-group: watched-namespaces
9898
steps:
9999
- name: Checkout repository
100-
uses: actions/checkout@v4
100+
uses: actions/checkout@v5
101101
- name: Set up JDK 21
102102
uses: actions/setup-java@v4
103103
with:
@@ -154,7 +154,7 @@ jobs:
154154
timeout-minutes: 20
155155
steps:
156156
- name: Checkout repository
157-
uses: actions/checkout@v4
157+
uses: actions/checkout@v5
158158
with:
159159
fetch-depth: 0
160160
- name: Super-Linter

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
if: github.repository == 'apache/spark-kubernetes-operator'
4242
steps:
4343
- name: Checkout repository
44-
uses: actions/checkout@v4
44+
uses: actions/checkout@v5
4545
- name: Setup Pages
4646
uses: actions/configure-pages@v5
4747
- name: Upload artifact

.github/workflows/publish_snapshot_chart.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
branch: ${{ fromJSON( inputs.branch || '["main", "branch-0.4"]' ) }}
2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v5
2727
with:
2828
ref: ${{ matrix.branch }}
2929
- name: Set up JDK 17

.github/workflows/publish_snapshot_dockerhub.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
username: ${{ secrets.DOCKERHUB_USER }}
3333
password: ${{ secrets.DOCKERHUB_TOKEN }}
3434
- name: Checkout repository
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@v5
3636
with:
3737
ref: ${{ matrix.branch }}
3838
- name: Build and push

0 commit comments

Comments
 (0)