Skip to content

Commit 7e43736

Browse files
Use full version for GitHub action in comments
Next time dependabot should fix it also
1 parent 54d444d commit 7e43736

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.github/workflows/maven.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ jobs:
4242
runs-on: ubuntu-latest
4343
steps:
4444
- name: Set up JDK
45-
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5
45+
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
4646
with:
4747
java-version: 17
4848
distribution: 'temurin'
4949

5050
- name: Checkout maven
51-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v4
51+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
5252
with:
5353
persist-credentials: false
5454

@@ -61,7 +61,7 @@ jobs:
6161
cp .github/ci-extensions.xml .mvn/extensions.xml
6262
6363
- name: Restore Mimir caches
64-
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
64+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
6565
with:
6666
path: ${{ env.MIMIR_LOCAL }}
6767
key: master-${{ runner.os }}-${{ github.run_id }}
@@ -89,23 +89,23 @@ jobs:
8989
run: ls -la apache-maven/target
9090

9191
- name: Upload Mimir caches
92-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v4
92+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
9393
if: ${{ !cancelled() && !failure() }}
9494
with:
9595
name: cache-${{ runner.os }}-initial
9696
retention-days: 1
9797
path: ${{ env.MIMIR_LOCAL }}
9898

9999
- name: Upload Maven distributions
100-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v4
100+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
101101
with:
102102
name: maven-distributions
103103
path: |
104104
apache-maven/target/apache-maven*.zip
105105
apache-maven/target/apache-maven*.tar.gz
106106
107107
- name: Upload test artifacts
108-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v4
108+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
109109
if: ${{ failure() || cancelled() }}
110110
with:
111111
name: initial-logs
@@ -115,7 +115,7 @@ jobs:
115115
**/target/java_heapdump.hprof
116116
117117
- name: Upload Mimir logs
118-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v4
118+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
119119
if: always()
120120
with:
121121
name: initial-mimir-logs
@@ -134,7 +134,7 @@ jobs:
134134
java: ['17', '21', '25']
135135
steps:
136136
- name: Set up JDK ${{ matrix.java }}
137-
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5
137+
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
138138
with:
139139
java-version: ${{ matrix.java }}
140140
distribution: 'temurin'
@@ -152,7 +152,7 @@ jobs:
152152
run: choco install graphviz
153153

154154
- name: Checkout maven
155-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v4
155+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
156156
with:
157157
persist-credentials: false
158158

@@ -166,7 +166,7 @@ jobs:
166166
cp .github/ci-extensions.xml ~/.m2/extensions.xml
167167
168168
- name: Restore Mimir caches
169-
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
169+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
170170
with:
171171
path: ${{ env.MIMIR_LOCAL }}
172172
key: master-${{ runner.os }}-${{ github.run_id }}
@@ -175,7 +175,7 @@ jobs:
175175
master-
176176
177177
- name: Download Maven distribution
178-
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v4
178+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
179179
with:
180180
name: maven-distributions
181181
path: maven-dist
@@ -210,15 +210,15 @@ jobs:
210210
run: mvn site -e -B -V -Preporting
211211

212212
- name: Upload Mimir caches
213-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v4
213+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
214214
if: ${{ !cancelled() && !failure() }}
215215
with:
216216
name: cache-${{ runner.os }}-full-build-${{ matrix.java }}
217217
retention-days: 1
218218
path: ${{ env.MIMIR_LOCAL }}
219219

220220
- name: Upload test artifacts
221-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v4
221+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
222222
if: failure() || cancelled()
223223
with:
224224
name: full-build-logs-${{ runner.os }}-${{ matrix.java }}
@@ -228,7 +228,7 @@ jobs:
228228
**/target/java_heapdump.hprof
229229
230230
- name: Upload Mimir logs
231-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v4
231+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
232232
if: always()
233233
with:
234234
name: full-build-mimir-logs-${{ runner.os }}-${{ matrix.java }}
@@ -247,13 +247,13 @@ jobs:
247247
java: ['17', '21', '25']
248248
steps:
249249
- name: Set up JDK ${{ matrix.java }}
250-
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5
250+
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
251251
with:
252252
java-version: ${{ matrix.java }}
253253
distribution: 'temurin'
254254

255255
- name: Checkout maven
256-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v4
256+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
257257
with:
258258
persist-credentials: false
259259

@@ -267,7 +267,7 @@ jobs:
267267
cp .github/ci-extensions.xml ~/.m2/extensions.xml
268268
269269
- name: Restore Mimir caches
270-
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
270+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
271271
with:
272272
path: ${{ env.MIMIR_LOCAL }}
273273
key: master-${{ runner.os }}-${{ github.run_id }}
@@ -276,7 +276,7 @@ jobs:
276276
master-
277277
278278
- name: Download Maven distribution
279-
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v4
279+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
280280
with:
281281
name: maven-distributions
282282
path: maven-dist
@@ -307,15 +307,15 @@ jobs:
307307
run: mvn install -e -B -V -Prun-its,mimir
308308

309309
- name: Upload Mimir caches
310-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v4
310+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
311311
if: ${{ !cancelled() && !failure() }}
312312
with:
313313
name: cache-${{ runner.os }}-integration-tests-${{ matrix.java }}
314314
retention-days: 1
315315
path: ${{ env.MIMIR_LOCAL }}
316316

317317
- name: Upload test artifacts
318-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v4
318+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
319319
if: ${{ failure() || cancelled() }}
320320
with:
321321
name: integration-test-logs-${{ runner.os }}-${{ matrix.java }}
@@ -327,7 +327,7 @@ jobs:
327327
**/target/java_heapdump.hprof
328328
329329
- name: Upload Mimir logs
330-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v4
330+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
331331
if: always()
332332
with:
333333
name: integration-test-mimir-logs-${{ runner.os }}-${{ matrix.java }}
@@ -347,13 +347,13 @@ jobs:
347347
- integration-tests
348348
steps:
349349
- name: Download Caches
350-
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v4
350+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
351351
with:
352352
merge-multiple: true
353353
pattern: 'cache-${{ runner.os }}*'
354354
path: ${{ env.MIMIR_LOCAL }}
355355
- name: Publish cache
356-
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
356+
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
357357
if: ${{ github.event_name != 'pull_request' && !cancelled() && !failure() }}
358358
with:
359359
path: ${{ env.MIMIR_LOCAL }}

0 commit comments

Comments
 (0)