Skip to content

Commit 5af8184

Browse files
committed
Update node-version and actions/*
1 parent f17242f commit 5af8184

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/build-and-review-pr.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
steps:
4040
- name: Checkout
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242
with:
4343
fetch-depth: 0
4444

@@ -103,16 +103,16 @@ jobs:
103103

104104
- name: Checkout
105105
if: env.HAS_CODE_CHANGES == 'true'
106-
uses: actions/checkout@v3
106+
uses: actions/checkout@v4
107107

108108
# -----------------------------------
109109
# Check if action has been recompiled
110110
# -----------------------------------
111-
- name: If action has build step - Setup Node 16.x
112-
uses: actions/setup-node@v3
111+
- name: If action has build step - Setup Node 20.x
112+
uses: actions/setup-node@v4
113113
if: env.HAS_CODE_CHANGES == 'true' && env.HAS_BUILD_STEP == 'true'
114114
with:
115-
node-version: 16.x
115+
node-version: 20.x
116116

117117
- name: If action has build step - Build the action
118118
if: env.HAS_CODE_CHANGES == 'true' && env.HAS_BUILD_STEP == 'true'
@@ -156,7 +156,7 @@ jobs:
156156
- name: Fail the workflow if there are any outstanding changes
157157
if: env.HAS_CODE_CHANGES == 'true' && (env.NEEDS_BUILD_COMMIT == 'true' || env.NEEDS_README_COMMIT == 'true')
158158
id: summary
159-
uses: actions/github-script@v6
159+
uses: actions/github-script@v7
160160
with:
161161
script: |
162162
@@ -252,7 +252,7 @@ jobs:
252252

253253
- name: Setup - Checkout testing repo in the root directory
254254
if: always()
255-
uses: actions/checkout@v3
255+
uses: actions/checkout@v4
256256
with:
257257
ref: main
258258
repository: ${{ env.TESTING_REPO }}
@@ -261,7 +261,7 @@ jobs:
261261

262262
- name: Setup - Checkout this action (git-version-lite) into a 'gvl' subdirectory
263263
if: always()
264-
uses: actions/checkout@v3
264+
uses: actions/checkout@v4
265265
with:
266266
path: ./gvl
267267

@@ -422,7 +422,7 @@ jobs:
422422

423423
- name: Setup - Checkout testing repo in the root directory
424424
if: always()
425-
uses: actions/checkout@v3
425+
uses: actions/checkout@v4
426426
with:
427427
ref: main
428428
repository: ${{ env.TESTING_REPO }}
@@ -431,7 +431,7 @@ jobs:
431431

432432
- name: Setup - Checkout this action (git-version-lite) into a 'gvl' subdirectory
433433
if: always()
434-
uses: actions/checkout@v3
434+
uses: actions/checkout@v4
435435
with:
436436
path: ./gvl
437437

@@ -705,7 +705,7 @@ jobs:
705705

706706
- name: Setup - Checkout testing repo in the root directory
707707
if: always()
708-
uses: actions/checkout@v3
708+
uses: actions/checkout@v4
709709
with:
710710
ref: main
711711
repository: ${{ env.TESTING_REPO }}
@@ -714,7 +714,7 @@ jobs:
714714

715715
- name: Setup - Checkout this action (git-version-lite) into a 'gvl' subdirectory
716716
if: always()
717-
uses: actions/checkout@v3
717+
uses: actions/checkout@v4
718718
with:
719719
path: ./gvl
720720

0 commit comments

Comments
 (0)