Skip to content

Commit d2be5d2

Browse files
committed
[SPARK-55604][INFRA] Make actions/* GitHub Actions jobs up-to-date
### What changes were proposed in this pull request? This PR aims to make `actions/*` GitHub Actions jobs up-to-date. ### Why are the changes needed? To keep the CIs up-to-date. | Action | Old Version | New Version | | :--- | :--- | :--- | | `actions/checkout` | `v4` | **`v6`** | | `actions/cache` | `v4` | **`v5`** | | `actions/setup-java` | `v4` | **`v5`** | | `actions/setup-python` | `v5` | **`v6`** | | `actions/upload-artifact` | `v4` | **`v6`** | | `actions/download-artifact` | `v5` | **`v6`** | | `actions/github-script` | `v7` | **`v8`** | | `actions/stale` | `c201d45...` (v1.1.0) | **`v10`** | ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: `Gemini 3 Pro (High)` on `Antigravity` Closes #54377 from dongjoon-hyun/SPARK-55604. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
1 parent b976e7b commit d2be5d2

15 files changed

+118
-118
lines changed

.github/workflows/benchmark.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ jobs:
7878
SPARK_LOCAL_IP: localhost
7979
steps:
8080
- name: Checkout Spark repository
81-
uses: actions/checkout@v4
81+
uses: actions/checkout@v6
8282
# In order to get diff files
8383
with:
8484
fetch-depth: 0
8585
- name: Cache SBT and Maven
86-
uses: actions/cache@v4
86+
uses: actions/cache@v5
8787
with:
8888
path: |
8989
build/apache-maven-*
@@ -93,23 +93,23 @@ jobs:
9393
restore-keys: |
9494
build-
9595
- name: Cache Coursier local repository
96-
uses: actions/cache@v4
96+
uses: actions/cache@v5
9797
with:
9898
path: ~/.cache/coursier
9999
key: benchmark-coursier-${{ inputs.jdk }}-${{ hashFiles('**/pom.xml', '**/plugins.sbt') }}
100100
restore-keys: |
101101
benchmark-coursier-${{ inputs.jdk }}
102102
- name: Cache TPC-DS generated data
103103
id: cache-tpcds-sf-1
104-
uses: actions/cache@v4
104+
uses: actions/cache@v5
105105
with:
106106
path: |
107107
./tpcds-sf-1
108108
./tpcds-sf-1-text
109109
key: tpcds-${{ hashFiles('.github/workflows/benchmark.yml', 'sql/core/src/test/scala/org/apache/spark/sql/TPCDSSchema.scala') }}
110110
- name: Checkout tpcds-kit repository
111111
if: steps.cache-tpcds-sf-1.outputs.cache-hit != 'true'
112-
uses: actions/checkout@v4
112+
uses: actions/checkout@v6
113113
with:
114114
repository: databricks/tpcds-kit
115115
ref: 1b7fb7529edae091684201fab142d956d6afd881
@@ -119,7 +119,7 @@ jobs:
119119
run: cd tpcds-kit/tools && make OS=LINUX
120120
- name: Install Java ${{ inputs.jdk }}
121121
if: steps.cache-tpcds-sf-1.outputs.cache-hit != 'true'
122-
uses: actions/setup-java@v4
122+
uses: actions/setup-java@v5
123123
with:
124124
distribution: zulu
125125
java-version: ${{ inputs.jdk }}
@@ -151,12 +151,12 @@ jobs:
151151
SPARK_TPCDS_DATA_TEXT: ${{ github.workspace }}/tpcds-sf-1-text
152152
steps:
153153
- name: Checkout Spark repository
154-
uses: actions/checkout@v4
154+
uses: actions/checkout@v6
155155
# In order to get diff files
156156
with:
157157
fetch-depth: 0
158158
- name: Cache SBT and Maven
159-
uses: actions/cache@v4
159+
uses: actions/cache@v5
160160
with:
161161
path: |
162162
build/apache-maven-*
@@ -166,21 +166,21 @@ jobs:
166166
restore-keys: |
167167
build-
168168
- name: Cache Coursier local repository
169-
uses: actions/cache@v4
169+
uses: actions/cache@v5
170170
with:
171171
path: ~/.cache/coursier
172172
key: benchmark-coursier-${{ inputs.jdk }}-${{ hashFiles('**/pom.xml', '**/plugins.sbt') }}
173173
restore-keys: |
174174
benchmark-coursier-${{ inputs.jdk }}
175175
- name: Install Java ${{ inputs.jdk }}
176-
uses: actions/setup-java@v4
176+
uses: actions/setup-java@v5
177177
with:
178178
distribution: zulu
179179
java-version: ${{ inputs.jdk }}
180180
- name: Cache TPC-DS generated data
181181
if: contains(inputs.class, 'TPCDSQueryBenchmark') || contains(inputs.class, 'LZ4TPCDSDataBenchmark') || contains(inputs.class, 'ZStandardTPCDSDataBenchmark') || contains(inputs.class, '*')
182182
id: cache-tpcds-sf-1
183-
uses: actions/cache@v4
183+
uses: actions/cache@v5
184184
with:
185185
path: |
186186
./tpcds-sf-1
@@ -224,7 +224,7 @@ jobs:
224224
echo "Error: Failed to push after 5 attempts."
225225
exit 1
226226
- name: Upload benchmark results
227-
uses: actions/upload-artifact@v4
227+
uses: actions/upload-artifact@v6
228228
with:
229229
name: benchmark-results-${{ inputs.jdk }}-${{ inputs.scala }}-${{ matrix.split }}
230230
path: target/benchmark-results-${{ inputs.jdk }}-${{ inputs.scala }}.tar

0 commit comments

Comments
 (0)