Skip to content

Commit 338e3dd

Browse files
Update GitHub actions dependencies (#3615)
1 parent fe8b664 commit 338e3dd

File tree

8 files changed

+47
-47
lines changed

8 files changed

+47
-47
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout repo
9-
uses: actions/checkout@v2
9+
uses: actions/checkout@v3
1010
with:
1111
persist-credentials: false
1212

1313
- name: Setup Node.js
14-
uses: actions/setup-node@v2
14+
uses: actions/setup-node@v3
1515
with:
1616
cache: npm
1717
node-version-file: '.node-version'
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: ubuntu-latest
4242
steps:
4343
- name: Checkout repo
44-
uses: actions/checkout@v2
44+
uses: actions/checkout@v3
4545
with:
4646
persist-credentials: false
4747

@@ -64,12 +64,12 @@ jobs:
6464
runs-on: ubuntu-latest
6565
steps:
6666
- name: Checkout repo
67-
uses: actions/checkout@v2
67+
uses: actions/checkout@v3
6868
with:
6969
persist-credentials: false
7070

7171
- name: Setup Node.js
72-
uses: actions/setup-node@v2
72+
uses: actions/setup-node@v3
7373
with:
7474
cache: npm
7575
node-version-file: '.node-version'
@@ -92,12 +92,12 @@ jobs:
9292
runs-on: ubuntu-latest
9393
steps:
9494
- name: Checkout repo
95-
uses: actions/checkout@v2
95+
uses: actions/checkout@v3
9696
with:
9797
persist-credentials: false
9898

9999
- name: Setup Node.js
100-
uses: actions/setup-node@v2
100+
uses: actions/setup-node@v3
101101
with:
102102
node-version-file: '.node-version'
103103
# We install bunch of packages during integration tests without locking them
@@ -114,12 +114,12 @@ jobs:
114114
runs-on: ubuntu-latest
115115
steps:
116116
- name: Checkout repo
117-
uses: actions/checkout@v2
117+
uses: actions/checkout@v3
118118
with:
119119
persist-credentials: false
120120

121121
- name: Setup Node.js
122-
uses: actions/setup-node@v2
122+
uses: actions/setup-node@v3
123123
with:
124124
cache: npm
125125
node-version-file: '.node-version'
@@ -138,12 +138,12 @@ jobs:
138138
node_version_to_setup: [14, 16, 18]
139139
steps:
140140
- name: Checkout repo
141-
uses: actions/checkout@v2
141+
uses: actions/checkout@v3
142142
with:
143143
persist-credentials: false
144144

145145
- name: Setup Node.js v${{ matrix.node_version_to_setup }}
146-
uses: actions/setup-node@v2
146+
uses: actions/setup-node@v3
147147
with:
148148
cache: npm
149149
node-version: ${{ matrix.node_version_to_setup }}
@@ -160,12 +160,12 @@ jobs:
160160
needs: [test, fuzz, lint, integrationTests]
161161
steps:
162162
- name: Checkout repo
163-
uses: actions/checkout@v2
163+
uses: actions/checkout@v3
164164
with:
165165
persist-credentials: false
166166

167167
- name: Setup Node.js
168-
uses: actions/setup-node@v2
168+
uses: actions/setup-node@v3
169169
with:
170170
cache: npm
171171
node-version-file: '.node-version'
@@ -177,7 +177,7 @@ jobs:
177177
run: npm run build:npm
178178

179179
- name: Upload npmDist package
180-
uses: actions/upload-artifact@v2
180+
uses: actions/upload-artifact@v3
181181
with:
182182
name: npmDist
183183
path: ./npmDist
@@ -188,12 +188,12 @@ jobs:
188188
needs: [test, fuzz, lint, integrationTests]
189189
steps:
190190
- name: Checkout repo
191-
uses: actions/checkout@v2
191+
uses: actions/checkout@v3
192192
with:
193193
persist-credentials: false
194194

195195
- name: Setup Node.js
196-
uses: actions/setup-node@v2
196+
uses: actions/setup-node@v3
197197
with:
198198
cache: npm
199199
node-version-file: '.node-version'
@@ -205,7 +205,7 @@ jobs:
205205
run: npm run build:deno
206206

207207
- name: Upload denoDist package
208-
uses: actions/upload-artifact@v2
208+
uses: actions/upload-artifact@v3
209209
with:
210210
name: denoDist
211211
path: ./denoDist
@@ -215,12 +215,12 @@ jobs:
215215
runs-on: ubuntu-latest
216216
steps:
217217
- name: Checkout repo
218-
uses: actions/checkout@v2
218+
uses: actions/checkout@v3
219219
with:
220220
persist-credentials: false
221221

222222
- name: Setup Node.js
223-
uses: actions/setup-node@v2
223+
uses: actions/setup-node@v3
224224
with:
225225
cache: npm
226226
node-version-file: '.node-version'
@@ -232,7 +232,7 @@ jobs:
232232
run: npm run build:website
233233

234234
- name: Upload denoDist package
235-
uses: actions/upload-artifact@v2
235+
uses: actions/upload-artifact@v3
236236
with:
237237
name: websiteDist
238238
path: ./websiteDist

.github/workflows/cmd-publish-pr-on-npm.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repo
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v3
1919
with:
2020
persist-credentials: false
2121
ref: ${{ fromJSON(inputs.pullRequestJSON).merge_commit_sha }}
2222

2323
- name: Setup Node.js
24-
uses: actions/setup-node@v2
24+
uses: actions/setup-node@v3
2525
with:
2626
cache: npm
2727
node-version-file: '.node-version'
@@ -33,7 +33,7 @@ jobs:
3333
run: npm run build:npm
3434

3535
- name: Upload npmDist package
36-
uses: actions/upload-artifact@v2
36+
uses: actions/upload-artifact@v3
3737
with:
3838
name: npmDist
3939
path: ./npmDist
@@ -45,27 +45,27 @@ jobs:
4545
needs: [build-npm-dist]
4646
steps:
4747
- name: Checkout repo
48-
uses: actions/checkout@v2
48+
uses: actions/checkout@v3
4949
with:
5050
persist-credentials: false
5151

5252
- name: Setup Node.js
53-
uses: actions/setup-node@v2
53+
uses: actions/setup-node@v3
5454
with:
5555
cache: npm
5656
node-version-file: '.node-version'
5757
# 'registry-url' is required for 'npm publish'
5858
registry-url: 'https://registry.npmjs.org'
5959

60-
- uses: actions/download-artifact@v2
60+
- uses: actions/download-artifact@v3
6161
with:
6262
name: npmDist
6363
path: npmDist
6464

6565
- name: Modify NPM package to be canary release
6666
env:
6767
PULL_REQUEST_JSON: ${{ inputs.pullRequestJSON }}
68-
uses: actions/github-script@v5
68+
uses: actions/github-script@v6
6969
with:
7070
script: |
7171
import fs from 'node:fs';
@@ -108,7 +108,7 @@ jobs:
108108
NODE_AUTH_TOKEN: ${{ secrets.NPM_CANARY_PR_PUBLISH_TOKEN }}
109109

110110
- name: Upload replyMessage
111-
uses: actions/upload-artifact@v2
111+
uses: actions/upload-artifact@v3
112112
with:
113113
name: replyMessage
114114
path: ./replyMessage.txt

.github/workflows/cmd-run-benchmark.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout repo
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616
with:
1717
persist-credentials: false
1818
ref: ${{ fromJSON(inputs.pullRequestJSON).merge_commit_sha }}
@@ -23,7 +23,7 @@ jobs:
2323
run: 'git fetch --depth=1 origin "$BASE_SHA:refs/tags/BASE"'
2424

2525
- name: Setup Node.js
26-
uses: actions/setup-node@v2
26+
uses: actions/setup-node@v3
2727
with:
2828
cache: npm
2929
node-version-file: '.node-version'
@@ -36,7 +36,7 @@ jobs:
3636
npm run benchmark -- --revs HEAD BASE
3737
3838
- name: Create replyMessage
39-
uses: actions/github-script@v5
39+
uses: actions/github-script@v6
4040
with:
4141
script: |
4242
import fs from 'node:fs';
@@ -59,7 +59,7 @@ jobs:
5959
);
6060
6161
- name: Upload replyMessage
62-
uses: actions/upload-artifact@v2
62+
uses: actions/upload-artifact@v3
6363
with:
6464
name: replyMessage
6565
path: ./replyMessage.txt

.github/workflows/deploy-artifact-as-branch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout `${{ inputs.target_branch }}` branch
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v3
3030
with:
3131
ref: ${{ inputs.target_branch }}
3232

3333
- name: Remove existing files first
3434
run: git rm -r .
3535

36-
- uses: actions/download-artifact@v2
36+
- uses: actions/download-artifact@v3
3737
with:
3838
name: ${{ inputs.artifact_name }}
3939

.github/workflows/github-actions-bot.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
WORKFLOW_ID: ${{github.event.workflow_run.id}}
3535

3636
- name: Add comment on PR
37-
uses: actions/github-script@v5
37+
uses: actions/github-script@v6
3838
with:
3939
script: |
4040
import fs from 'node:fs';
@@ -58,7 +58,7 @@ jobs:
5858
cmd: ${{ steps.parse-cmd.outputs.cmd }}
5959
pullRequestJSON: ${{ steps.parse-cmd.outputs.pullRequestJSON }}
6060
steps:
61-
- uses: actions/github-script@v5
61+
- uses: actions/github-script@v6
6262
with:
6363
script: |
6464
await github.rest.reactions.createForIssueComment({
@@ -68,7 +68,7 @@ jobs:
6868
});
6969
7070
- id: parse-cmd
71-
uses: actions/github-script@v5
71+
uses: actions/github-script@v6
7272
with:
7373
script: |
7474
const comment = context.payload.comment.body;
@@ -102,12 +102,12 @@ jobs:
102102
if: needs.accept-cmd.result != 'skipped' && always()
103103
runs-on: ubuntu-latest
104104
steps:
105-
- uses: actions/download-artifact@v2
105+
- uses: actions/download-artifact@v3
106106
with:
107107
name: replyMessage
108108

109109
- if: failure()
110-
uses: actions/github-script@v5
110+
uses: actions/github-script@v6
111111
with:
112112
script: |
113113
import fs from 'node:fs';
@@ -131,7 +131,7 @@ jobs:
131131
RUN_URL: ${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}
132132

133133
- if: always()
134-
uses: actions/github-script@v5
134+
uses: actions/github-script@v6
135135
with:
136136
script: |
137137
import fs from 'node:fs';

.github/workflows/mutation-testing.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout repo
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v3
1313
with:
1414
persist-credentials: false
1515

1616
- name: Setup Node.js
17-
uses: actions/setup-node@v2
17+
uses: actions/setup-node@v3
1818
with:
1919
cache: npm
2020
node-version-file: '.node-version'
@@ -26,7 +26,7 @@ jobs:
2626
run: npm run testonly:mutate
2727

2828
- name: Upload mutation testing report
29-
uses: actions/upload-artifact@v2
29+
uses: actions/upload-artifact@v3
3030
with:
3131
name: mutationTestingReport
3232
path: ./reports/mutation/mutation.html

.github/workflows/pull_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout repo
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v3
1313
with:
1414
persist-credentials: false
1515

@@ -19,7 +19,7 @@ jobs:
1919
run: 'git fetch --depth=1 origin "$BASE_SHA:refs/tags/BASE"'
2020

2121
- name: Setup Node.js
22-
uses: actions/setup-node@v2
22+
uses: actions/setup-node@v3
2323
with:
2424
cache: npm
2525
node-version-file: '.node-version'
@@ -31,7 +31,7 @@ jobs:
3131
run: 'npm run diff:npm BASE HEAD'
3232

3333
- name: Upload generated report
34-
uses: actions/upload-artifact@v2
34+
uses: actions/upload-artifact@v3
3535
with:
3636
name: npm-dist-diff.html
3737
path: ./reports/npm-dist-diff.html

.github/workflows/pull_request_opened.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Upload event.json
11-
uses: actions/upload-artifact@v2
11+
uses: actions/upload-artifact@v3
1212
with:
1313
name: event.json
1414
path: ${{ github.event_path }}

0 commit comments

Comments
 (0)