Skip to content

Commit aa4d723

Browse files
authored
chore: update actions to latest versions (#532)
### Summary Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. ### Test plan just run workflows...
1 parent 2d5b583 commit aa4d723

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.github/actions/setup/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ runs:
55
using: composite
66
steps:
77
- name: Setup Node.js
8-
uses: actions/setup-node@v3
8+
uses: actions/setup-node@v4
99
with:
1010
node-version-file: .nvmrc
1111

1212
- name: Cache dependencies
1313
id: yarn-cache
14-
uses: actions/cache@v3
14+
uses: actions/cache@v4
1515
with:
1616
path: |
1717
**/node_modules

.github/workflows/build-templates.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888

8989
steps:
9090
- name: Checkout
91-
uses: actions/checkout@v3
91+
uses: actions/checkout@v4
9292

9393
- name: Setup
9494
uses: ./.github/actions/setup
@@ -117,7 +117,7 @@ jobs:
117117
118118
- name: Cache dependencies of library
119119
id: library-yarn-cache
120-
uses: actions/cache@v3
120+
uses: actions/cache@v4
121121
with:
122122
path: |
123123
${{ env.work_dir }}/**/node_modules
@@ -153,7 +153,7 @@ jobs:
153153
154154
- name: Cache turborepo
155155
if: env.android_build == 1 || env.ios_build == 1
156-
uses: actions/cache@v3
156+
uses: actions/cache@v4
157157
with:
158158
path: |
159159
${{ env.work_dir }}/.turbo
@@ -204,7 +204,7 @@ jobs:
204204
205205
- name: Install JDK
206206
if: env.android_build == 1 && env.turbo_cache_hit_android != 1
207-
uses: actions/setup-java@v3
207+
uses: actions/setup-java@v4
208208
with:
209209
distribution: 'zulu'
210210
java-version: '17'
@@ -216,7 +216,7 @@ jobs:
216216
217217
- name: Cache Gradle
218218
if: env.android_build == 1 && env.turbo_cache_hit_android != 1
219-
uses: actions/cache@v3
219+
uses: actions/cache@v4
220220
with:
221221
path: |
222222
~/.gradle/wrapper
@@ -236,7 +236,7 @@ jobs:
236236
- name: Cache cocoapods
237237
if: env.ios_build == 1 && env.turbo_cache_hit_ios != 1
238238
id: library-cocoapods-cache
239-
uses: actions/cache@v3
239+
uses: actions/cache@v4
240240
with:
241241
path: |
242242
${{ env.work_dir }}/**/ios/Pods

.github/workflows/check-project.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616

1717
- name: Setup
1818
uses: ./.github/actions/setup

.github/workflows/deploy-docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: Setup
1919
uses: ./.github/actions/setup
2020

2121
- name: Cache build
22-
uses: actions/cache@v3
22+
uses: actions/cache@v4
2323
with:
2424
path: |
2525
docs/.next/cache

.github/workflows/rebase.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v4
1414
with:
1515
fetch-depth: 0
1616

0 commit comments

Comments
 (0)