38
38
39
39
steps :
40
40
- name : Checkout
41
- uses : actions/checkout@v3
41
+ uses : actions/checkout@v4
42
42
with :
43
43
fetch-depth : 0
44
44
@@ -103,16 +103,16 @@ jobs:
103
103
104
104
- name : Checkout
105
105
if : env.HAS_CODE_CHANGES == 'true'
106
- uses : actions/checkout@v3
106
+ uses : actions/checkout@v4
107
107
108
108
# -----------------------------------
109
109
# Check if action has been recompiled
110
110
# -----------------------------------
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
113
113
if : env.HAS_CODE_CHANGES == 'true' && env.HAS_BUILD_STEP == 'true'
114
114
with :
115
- node-version : 16 .x
115
+ node-version : 20 .x
116
116
117
117
- name : If action has build step - Build the action
118
118
if : env.HAS_CODE_CHANGES == 'true' && env.HAS_BUILD_STEP == 'true'
@@ -156,7 +156,7 @@ jobs:
156
156
- name : Fail the workflow if there are any outstanding changes
157
157
if : env.HAS_CODE_CHANGES == 'true' && (env.NEEDS_BUILD_COMMIT == 'true' || env.NEEDS_README_COMMIT == 'true')
158
158
id : summary
159
- uses : actions/github-script@v6
159
+ uses : actions/github-script@v7
160
160
with :
161
161
script : |
162
162
@@ -252,7 +252,7 @@ jobs:
252
252
253
253
- name : Setup - Checkout testing repo in the root directory
254
254
if : always()
255
- uses : actions/checkout@v3
255
+ uses : actions/checkout@v4
256
256
with :
257
257
ref : main
258
258
repository : ${{ env.TESTING_REPO }}
@@ -261,7 +261,7 @@ jobs:
261
261
262
262
- name : Setup - Checkout this action (git-version-lite) into a 'gvl' subdirectory
263
263
if : always()
264
- uses : actions/checkout@v3
264
+ uses : actions/checkout@v4
265
265
with :
266
266
path : ./gvl
267
267
@@ -422,7 +422,7 @@ jobs:
422
422
423
423
- name : Setup - Checkout testing repo in the root directory
424
424
if : always()
425
- uses : actions/checkout@v3
425
+ uses : actions/checkout@v4
426
426
with :
427
427
ref : main
428
428
repository : ${{ env.TESTING_REPO }}
@@ -431,7 +431,7 @@ jobs:
431
431
432
432
- name : Setup - Checkout this action (git-version-lite) into a 'gvl' subdirectory
433
433
if : always()
434
- uses : actions/checkout@v3
434
+ uses : actions/checkout@v4
435
435
with :
436
436
path : ./gvl
437
437
@@ -705,7 +705,7 @@ jobs:
705
705
706
706
- name : Setup - Checkout testing repo in the root directory
707
707
if : always()
708
- uses : actions/checkout@v3
708
+ uses : actions/checkout@v4
709
709
with :
710
710
ref : main
711
711
repository : ${{ env.TESTING_REPO }}
@@ -714,7 +714,7 @@ jobs:
714
714
715
715
- name : Setup - Checkout this action (git-version-lite) into a 'gvl' subdirectory
716
716
if : always()
717
- uses : actions/checkout@v3
717
+ uses : actions/checkout@v4
718
718
with :
719
719
path : ./gvl
720
720
0 commit comments