Skip to content

Commit 2b8b2f5

Browse files
authored
Merge pull request #7290 from StoDevX/renovate/actions-cache-4.x
Update actions/cache action to v4.3.0
2 parents 43cecfc + 601369e commit 2b8b2f5

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
ruby-version: '3.4.7'
4444
bundler-cache: true
4545
- name: Restore Gradle cache
46-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
46+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
4747
with:
4848
path: |
4949
~/.gradle/caches

.github/workflows/check.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Extract job definition
2929
run: yq '.jobs.${{ github.job }}' .github/workflows/check.yml > .github/job.yml
3030

31-
- uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
31+
- uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
3232
id: node-cache
3333
with:
3434
path: node_modules/
@@ -43,7 +43,7 @@ jobs:
4343
- if: steps.node-cache.outputs.cache-hit != 'true'
4444
run: npm ci
4545

46-
- uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
46+
- uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
4747
if: steps.node-cache.outputs.cache-hit != 'true'
4848
with:
4949
path: node_modules/
@@ -60,7 +60,7 @@ jobs:
6060
- name: Extract job definition
6161
run: yq '.jobs.${{ github.job }}' .github/workflows/check.yml > .github/job.yml
6262

63-
- uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
63+
- uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
6464
id: node-cache
6565
with:
6666
path: node_modules/
@@ -75,7 +75,7 @@ jobs:
7575
- if: steps.node-cache.outputs.cache-hit != 'true'
7676
run: npm ci
7777

78-
- uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
78+
- uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
7979
if: steps.node-cache.outputs.cache-hit != 'true'
8080
with:
8181
path: node_modules/
@@ -107,7 +107,7 @@ jobs:
107107
run: yq '.jobs.${{ github.job }}' .github/workflows/check.yml > .github/job.yml
108108

109109
- name: Restore Cocoapods cache
110-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
110+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
111111
id: cocoapods-cache
112112
with:
113113
path: ios/Pods
@@ -128,7 +128,7 @@ jobs:
128128

129129
- name: Restore node_modules cache
130130
if: steps.cocoapods-cache.outputs.cache-hit != 'true'
131-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
131+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
132132
id: node-cache
133133
with:
134134
path: node_modules/
@@ -142,7 +142,7 @@ jobs:
142142
working-directory: ./ios
143143

144144
- name: Save Cocoapods cache
145-
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
145+
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
146146
if: steps.cocoapods-cache.outputs.cache-hit != 'true'
147147
with:
148148
path: ios/Pods
@@ -160,7 +160,7 @@ jobs:
160160
node-version-file: '.node-version'
161161

162162
- name: Restore node_modules cache
163-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
163+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
164164
id: node-cache
165165
with:
166166
path: node_modules/
@@ -183,7 +183,7 @@ jobs:
183183
node-version-file: '.node-version'
184184

185185
- name: Restore node_modules cache
186-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
186+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
187187
id: node-cache
188188
with:
189189
path: node_modules/
@@ -206,7 +206,7 @@ jobs:
206206
node-version-file: '.node-version'
207207

208208
- name: Restore node_modules cache
209-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
209+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
210210
id: node-cache
211211
with:
212212
path: node_modules/
@@ -233,7 +233,7 @@ jobs:
233233
node-version-file: '.node-version'
234234

235235
- name: Restore node_modules cache
236-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
236+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
237237
id: node-cache
238238
with:
239239
path: node_modules/
@@ -256,7 +256,7 @@ jobs:
256256
node-version-file: '.node-version'
257257

258258
- name: Restore node_modules cache
259-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
259+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
260260
id: node-cache
261261
with:
262262
path: node_modules/
@@ -286,7 +286,7 @@ jobs:
286286
node-version-file: '.node-version'
287287

288288
- name: Restore node_modules cache
289-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
289+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
290290
id: node-cache
291291
with:
292292
path: node_modules/
@@ -296,7 +296,7 @@ jobs:
296296
run: exit 1
297297

298298
- name: Load the cached jsbundle
299-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
299+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
300300
id: jsbundle-cache
301301
with:
302302
path: |
@@ -312,7 +312,7 @@ jobs:
312312
APP_MODE: mocked
313313

314314
- name: Cache the jsbundle
315-
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
315+
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
316316
if: steps.jsbundle-cache.outputs.cache-hit != 'true'
317317
with:
318318
path: |
@@ -338,7 +338,7 @@ jobs:
338338
node-version-file: '.node-version'
339339

340340
- name: Restore node_modules cache
341-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
341+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
342342
id: node-cache
343343
with:
344344
path: node_modules/
@@ -348,7 +348,7 @@ jobs:
348348
run: exit 1
349349

350350
- name: Load the cached jsbundle
351-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
351+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
352352
id: jsbundle-cache
353353
with:
354354
path: ./android/generated/
@@ -362,7 +362,7 @@ jobs:
362362

363363
- name: Cache the jsbundle
364364
if: steps.jsbundle-cache.outputs.cache-hit != 'true'
365-
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
365+
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
366366
with:
367367
path: ./android/generated/
368368
key: ${{ steps.jsbundle-cache.outputs.cache-primary-key }}
@@ -379,7 +379,7 @@ jobs:
379379
node-version-file: '.node-version'
380380

381381
- name: Restore node_modules cache
382-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
382+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
383383
id: node-cache
384384
with:
385385
path: node_modules/
@@ -418,7 +418,7 @@ jobs:
418418
path: build/reports/
419419

420420
- name: Cache the Android app
421-
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
421+
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
422422
with:
423423
path: android/app/build/outputs/apk/
424424
key: ${{ steps.app-cache.outputs.cache-primary-key }}
@@ -444,7 +444,7 @@ jobs:
444444

445445
- name: Check for cached iOS app
446446
id: app-cache
447-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
447+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
448448
with:
449449
path: ios/build/Build/Products/
450450
key: ${{ runner.os }}-ios-xcode@${{ env.xcode_version }}-${{ hashFiles('**/project.pbxproj', '**/Podfile', '**/Podfile.lock', 'package-lock.json', '.github/job.yml') }}
@@ -456,7 +456,7 @@ jobs:
456456

457457
- name: Restore node_modules cache
458458
if: steps.app-cache.outputs.cache-hit != 'true'
459-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
459+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
460460
id: node-cache
461461
with:
462462
path: node_modules/
@@ -476,7 +476,7 @@ jobs:
476476

477477
- name: Restore Cocoapods cache
478478
if: steps.app-cache.outputs.cache-hit != 'true'
479-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
479+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
480480
id: pods-cache
481481
with:
482482
path: ios/Pods
@@ -512,7 +512,7 @@ jobs:
512512
cat ios/build/Build/Products/Release-iphonesimulator/AllAboutOlaf.app/Info.plist | head -10 || echo "Info.plist not found!"
513513
514514
- name: Cache the iOS app
515-
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
515+
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
516516
with:
517517
path: ios/build/Build/Products/
518518
key: ${{ steps.app-cache.outputs.cache-primary-key }}
@@ -534,7 +534,7 @@ jobs:
534534

535535
- # load the app before reinstalling detox, so that the package-lock cannot change
536536
name: Load the cached iOS app
537-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
537+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
538538
id: app-cache
539539
with:
540540
path: ios/build/Build/Products/
@@ -556,7 +556,7 @@ jobs:
556556
557557
- # load the jsbundle before reinstalling detox, so that the package-lock cannot change
558558
name: Load the cached iOS jsbundle
559-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
559+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
560560
id: jsbundle-cache
561561
with:
562562
path: |
@@ -620,7 +620,7 @@ jobs:
620620
node-version-file: '.node-version'
621621

622622
- name: Restore node_modules cache
623-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
623+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
624624
id: node-cache
625625
with:
626626
path: node_modules/

0 commit comments

Comments
 (0)