Skip to content

Commit baff840

Browse files
Bump actions/cache from 4 to 5 (#372)
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v4...v5) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@datadoghq.com>
1 parent 8426d8e commit baff840

3 files changed

Lines changed: 22 additions & 22 deletions

File tree

.github/workflows/cache_java.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
sdkman_path: ${{ steps.export-path.outputs.sdkman_path }}
6868
steps:
6969
- name: Cache SDKMan! AMD64
70-
uses: actions/cache@v4
70+
uses: actions/cache@v5
7171
with:
7272
path: sdkman
7373
key: sdkman-amd64-${{ github.run_id }}
@@ -108,7 +108,7 @@ jobs:
108108
sdkman_path: ${{ steps.export-path.outputs.sdkman_path }}
109109
steps:
110110
- name: Cache SDKMan! AARCH64
111-
uses: actions/cache@v4
111+
uses: actions/cache@v5
112112
with:
113113
path: sdkman
114114
key: sdkman-aarch64-${{ github.run_id }}
@@ -151,7 +151,7 @@ jobs:
151151
- uses: actions/checkout@v6
152152
- name: Try restore cache JDK ${{ matrix.java_variant }}
153153
id: cache-jdk
154-
uses: actions/cache/restore@v4
154+
uses: actions/cache/restore@v5
155155
with:
156156
path: |
157157
${{ env.JDKS_DIR }}/jdk${{ matrix.java_variant }}
@@ -190,7 +190,7 @@ jobs:
190190
191191
- name: Save JDK ${{ matrix.java_variant }} cache
192192
if: steps.check-cache.outputs.cache-hit != 'true'
193-
uses: actions/cache/save@v4
193+
uses: actions/cache/save@v5
194194
with:
195195
path: |
196196
${{ env.JDKS_DIR }}/jdk${{ matrix.java_variant }}
@@ -214,7 +214,7 @@ jobs:
214214
apk update && apk add curl zip unzip bash tar
215215
- name: Cache JDK ${{ matrix.java_variant }}
216216
id: cache-jdk
217-
uses: actions/cache/restore@v4
217+
uses: actions/cache/restore@v5
218218
with:
219219
path: |
220220
${{ env.JDKS_DIR }}/jdk${{ matrix.java_variant }}
@@ -240,7 +240,7 @@ jobs:
240240
241241
- name: Save JDK ${{ matrix.java_variant }} cache
242242
if: steps.check-cache.outputs.cache-hit != 'true'
243-
uses: actions/cache/save@v4
243+
uses: actions/cache/save@v5
244244
with:
245245
path: |
246246
${{ env.JDKS_DIR }}/jdk${{ matrix.java_variant }}
@@ -260,7 +260,7 @@ jobs:
260260
- uses: actions/checkout@v6
261261
- name: Cache JDK ${{ matrix.java_variant }}
262262
id: cache-jdk
263-
uses: actions/cache/restore@v4
263+
uses: actions/cache/restore@v5
264264
with:
265265
path: |
266266
${{ env.JDKS_DIR }}/jdk${{ matrix.java_variant }}
@@ -298,7 +298,7 @@ jobs:
298298
299299
- name: Save JDK ${{ matrix.java_variant }} cache
300300
if: steps.check-cache.outputs.cache-hit != 'true'
301-
uses: actions/cache/save@v4
301+
uses: actions/cache/save@v5
302302
with:
303303
path: |
304304
${{ env.JDKS_DIR }}/jdk${{ matrix.java_variant }}
@@ -321,7 +321,7 @@ jobs:
321321
sudo apt update && sudo apt install -y curl zip unzip bash tar
322322
- name: Cache JDK ${{ matrix.java_variant }}
323323
id: cache-jdk
324-
uses: actions/cache/restore@v4
324+
uses: actions/cache/restore@v5
325325
with:
326326
path: |
327327
${{ env.JDKS_DIR }}/jdk${{ matrix.java_variant }}
@@ -347,7 +347,7 @@ jobs:
347347

348348
- name: Save JDK ${{ matrix.java_variant }} cache
349349
if: steps.check-cache.outputs.cache-hit != 'true'
350-
uses: actions/cache/save@v4
350+
uses: actions/cache/save@v5
351351
with:
352352
path: |
353353
${{ env.JDKS_DIR }}/jdk${{ matrix.java_variant }}

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ jobs:
6363
sudo mv /usr/bin/clang-format-11 /usr/bin/clang-format
6464
6565
- name: Cache Gradle Wrapper Binaries
66-
uses: actions/cache@v4
66+
uses: actions/cache@v5
6767
with:
6868
path: ~/.gradle/wrapper/dists
6969
key: gradle-wrapper-${{ runner.os }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
7070
restore-keys: |
7171
gradle-wrapper-${{ runner.os }}-
7272
7373
- name: Cache Gradle User Home
74-
uses: actions/cache@v4
74+
uses: actions/cache@v5
7575
with:
7676
path: ~/.gradle/caches
7777
key: gradle-caches-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
@@ -101,15 +101,15 @@ jobs:
101101
sudo apt-get install -y curl zip unzip binutils
102102
103103
- name: Cache Gradle Wrapper Binaries
104-
uses: actions/cache@v4
104+
uses: actions/cache@v5
105105
with:
106106
path: ~/.gradle/wrapper/dists
107107
key: gradle-wrapper-${{ runner.os }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
108108
restore-keys: |
109109
gradle-wrapper-${{ runner.os }}-
110110
111111
- name: Cache Gradle User Home
112-
uses: actions/cache@v4
112+
uses: actions/cache@v5
113113
with:
114114
path: ~/.gradle/caches
115115
key: gradle-caches-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}

.github/workflows/test_workflow.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ jobs:
5454
if: steps.set_enabled.outputs.enabled == 'true'
5555
- name: Cache Gradle Wrapper Binaries
5656
if: steps.set_enabled.outputs.enabled == 'true'
57-
uses: actions/cache@v4
57+
uses: actions/cache@v5
5858
with:
5959
path: ~/.gradle/wrapper/dists
6060
key: gradle-wrapper-${{ runner.os }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
6161
restore-keys: |
6262
gradle-wrapper-${{ runner.os }}-
6363
- name: Cache Gradle User Home
6464
if: steps.set_enabled.outputs.enabled == 'true'
65-
uses: actions/cache@v4
65+
uses: actions/cache@v5
6666
with:
6767
path: ~/.gradle/caches
6868
key: gradle-caches-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
@@ -168,14 +168,14 @@ jobs:
168168
apk add musl-dbg
169169
- uses: actions/checkout@v6
170170
- name: Cache Gradle Wrapper Binaries
171-
uses: actions/cache@v4
171+
uses: actions/cache@v5
172172
with:
173173
path: ~/.gradle/wrapper/dists
174174
key: gradle-wrapper-${{ runner.os }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
175175
restore-keys: |
176176
gradle-wrapper-${{ runner.os }}-
177177
- name: Cache Gradle User Home
178-
uses: actions/cache@v4
178+
uses: actions/cache@v5
179179
with:
180180
path: ~/.gradle/caches
181181
key: gradle-caches-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
@@ -289,15 +289,15 @@ jobs:
289289
if: steps.set_enabled.outputs.enabled == 'true'
290290
- name: Cache Gradle Wrapper Binaries
291291
if: steps.set_enabled.outputs.enabled == 'true'
292-
uses: actions/cache@v4
292+
uses: actions/cache@v5
293293
with:
294294
path: ~/.gradle/wrapper/dists
295295
key: gradle-wrapper-${{ runner.os }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
296296
restore-keys: |
297297
gradle-wrapper-${{ runner.os }}-
298298
- name: Cache Gradle User Home
299299
if: steps.set_enabled.outputs.enabled == 'true'
300-
uses: actions/cache@v4
300+
uses: actions/cache@v5
301301
with:
302302
path: ~/.gradle/caches
303303
key: gradle-caches-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
@@ -399,14 +399,14 @@ jobs:
399399
steps:
400400
- uses: actions/checkout@v6
401401
- name: Cache Gradle Wrapper Binaries
402-
uses: actions/cache@v4
402+
uses: actions/cache@v5
403403
with:
404404
path: ~/.gradle/wrapper/dists
405405
key: gradle-wrapper-${{ runner.os }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
406406
restore-keys: |
407407
gradle-wrapper-${{ runner.os }}-
408408
- name: Cache Gradle User Home
409-
uses: actions/cache@v4
409+
uses: actions/cache@v5
410410
with:
411411
path: ~/.gradle/caches
412412
key: gradle-caches-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}

0 commit comments

Comments
 (0)