Skip to content

Commit fe58b3e

Browse files
committed
Build/Test Tools: Update third-party GitHub Actions.
This updates the following third-party actions to their latest versions: - `actions/cache` - `actions/checkout` - `actions/setup-node` - `actions/github-script` - `slackapi/slack-github-action` The latest versions of these actions fix the warnings that are being triggered after the deprecation of `set-output` and `save-state` on GitHub Actions. For more information, see https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/. See #56820. git-svn-id: https://develop.svn.wordpress.org/trunk@54511 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 77b3243 commit fe58b3e

File tree

10 files changed

+36
-36
lines changed

10 files changed

+36
-36
lines changed

.github/workflows/coding-standards.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464

6565
steps:
6666
- name: Checkout repository
67-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
67+
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
6868

6969
- name: Set up PHP
7070
uses: shivammathur/setup-php@e04e1d97f0c0481c6e1ba40f8a538454fe5d7709 # v2.21.2
@@ -85,7 +85,7 @@ jobs:
8585
run: echo "::set-output name=date::$(/bin/date -u --date='last Mon' "+%F")"
8686

8787
- name: Cache PHPCS scan cache
88-
uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # v3.0.10
88+
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3.0.11
8989
with:
9090
path: .cache/phpcs.json
9191
key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcs-cache-${{ hashFiles('**/composer.json', 'phpcs.xml.dist') }}
@@ -140,7 +140,7 @@ jobs:
140140

141141
steps:
142142
- name: Checkout repository
143-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
143+
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
144144

145145
- name: Log debug information
146146
run: |
@@ -150,7 +150,7 @@ jobs:
150150
svn --version
151151
152152
- name: Install NodeJS
153-
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
153+
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
154154
with:
155155
node-version-file: '.nvmrc'
156156
cache: npm
@@ -198,7 +198,7 @@ jobs:
198198
199199
steps:
200200
- name: Dispatch workflow run
201-
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
201+
uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
202202
with:
203203
retries: 2
204204
retry-exempt-status-codes: 418

.github/workflows/end-to-end-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV
6060
6161
- name: Checkout repository
62-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
62+
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
6363

6464
- name: Log debug information
6565
run: |
@@ -73,7 +73,7 @@ jobs:
7373
locale -a
7474
7575
- name: Install NodeJS
76-
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
76+
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
7777
with:
7878
node-version-file: '.nvmrc'
7979
cache: npm
@@ -146,7 +146,7 @@ jobs:
146146
147147
steps:
148148
- name: Dispatch workflow run
149-
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
149+
uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
150150
with:
151151
retries: 2
152152
retry-exempt-status-codes: 418

.github/workflows/failed-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Rerun a workflow
27-
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
27+
uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
2828
with:
2929
retries: 2
3030
retry-exempt-status-codes: 418

.github/workflows/javascript-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757

5858
steps:
5959
- name: Checkout repository
60-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
60+
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
6161

6262
- name: Log debug information
6363
run: |
@@ -67,7 +67,7 @@ jobs:
6767
svn --version
6868
6969
- name: Install NodeJS
70-
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
70+
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
7171
with:
7272
node-version-file: '.nvmrc'
7373
cache: npm
@@ -114,7 +114,7 @@ jobs:
114114
115115
steps:
116116
- name: Dispatch workflow run
117-
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
117+
uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
118118
with:
119119
retries: 2
120120
retry-exempt-status-codes: 418

.github/workflows/php-compatibility.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959

6060
steps:
6161
- name: Checkout repository
62-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
62+
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
6363

6464
- name: Set up PHP
6565
uses: shivammathur/setup-php@e04e1d97f0c0481c6e1ba40f8a538454fe5d7709 # v2.21.2
@@ -80,7 +80,7 @@ jobs:
8080
run: echo "::set-output name=date::$(/bin/date -u --date='last Mon' "+%F")"
8181

8282
- name: Cache PHP compatibility scan cache
83-
uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # v3.0.10
83+
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3.0.11
8484
with:
8585
path: .cache/phpcompat.json
8686
key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcompat-cache-${{ hashFiles('**/composer.json', 'phpcompat.xml.dist') }}
@@ -134,7 +134,7 @@ jobs:
134134
135135
steps:
136136
- name: Dispatch workflow run
137-
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
137+
uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
138138
with:
139139
retries: 2
140140
retry-exempt-status-codes: 418

.github/workflows/phpunit-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ jobs:
106106
echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV
107107
108108
- name: Checkout repository
109-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
109+
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
110110

111111
- name: Install NodeJS
112-
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
112+
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
113113
with:
114114
node-version-file: '.nvmrc'
115115
cache: npm
@@ -128,7 +128,7 @@ jobs:
128128
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
129129

130130
- name: Cache Composer dependencies
131-
uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # v3.0.10
131+
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3.0.11
132132
env:
133133
cache-name: cache-composer-dependencies
134134
with:
@@ -216,7 +216,7 @@ jobs:
216216

217217
- name: Checkout the WordPress Test Reporter
218218
if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/trunk' && matrix.report }}
219-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
219+
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
220220
with:
221221
repository: 'WordPress/phpunit-test-runner'
222222
path: 'test-runner'
@@ -255,7 +255,7 @@ jobs:
255255
256256
steps:
257257
- name: Dispatch workflow run
258-
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
258+
uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
259259
with:
260260
retries: 2
261261
retry-exempt-status-codes: 418

.github/workflows/slack-notifications.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
steps:
5454
- name: Determine the status of the previous attempt
5555
id: previous-attempt-result
56-
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
56+
uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
5757
with:
5858
retries: 2
5959
retry-exempt-status-codes: 418
@@ -118,7 +118,7 @@ jobs:
118118

119119
- name: Get the commit message
120120
id: current-commit-message
121-
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
121+
uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
122122
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
123123
with:
124124
retries: 2
@@ -154,7 +154,7 @@ jobs:
154154

155155
steps:
156156
- name: Post failure notifications to Slack
157-
uses: slackapi/slack-github-action@936158bbe252e9a6062e793ea4609642c966e302 # v1.21.0
157+
uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # v1.23.0
158158
with:
159159
payload: ${{ needs.prepare.outputs.payload }}
160160
env:
@@ -170,7 +170,7 @@ jobs:
170170

171171
steps:
172172
- name: Post failure notifications to Slack
173-
uses: slackapi/slack-github-action@936158bbe252e9a6062e793ea4609642c966e302 # v1.21.0
173+
uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # v1.23.0
174174
with:
175175
payload: ${{ needs.prepare.outputs.payload }}
176176
env:
@@ -186,7 +186,7 @@ jobs:
186186

187187
steps:
188188
- name: Post success notifications to Slack
189-
uses: slackapi/slack-github-action@936158bbe252e9a6062e793ea4609642c966e302 # v1.21.0
189+
uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # v1.23.0
190190
with:
191191
payload: ${{ needs.prepare.outputs.payload }}
192192
env:
@@ -202,7 +202,7 @@ jobs:
202202

203203
steps:
204204
- name: Post cancelled notifications to Slack
205-
uses: slackapi/slack-github-action@936158bbe252e9a6062e793ea4609642c966e302 # v1.21.0
205+
uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # v1.23.0
206206
with:
207207
payload: ${{ needs.prepare.outputs.payload }}
208208
env:

.github/workflows/test-coverage.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV
7272
7373
- name: Checkout repository
74-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
74+
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
7575

7676
- name: Log debug information
7777
run: |
@@ -87,7 +87,7 @@ jobs:
8787
locale -a
8888
8989
- name: Install NodeJS
90-
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
90+
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
9191
with:
9292
node-version-file: '.nvmrc'
9393
cache: npm
@@ -106,7 +106,7 @@ jobs:
106106
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
107107

108108
- name: Cache Composer dependencies
109-
uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # v3.0.10
109+
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3.0.11
110110
env:
111111
cache-name: cache-composer-dependencies
112112
with:
@@ -209,7 +209,7 @@ jobs:
209209
210210
steps:
211211
- name: Dispatch workflow run
212-
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
212+
uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
213213
with:
214214
retries: 2
215215
retry-exempt-status-codes: 418

.github/workflows/test-npm.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262

6363
steps:
6464
- name: Checkout repository
65-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
65+
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
6666

6767
- name: Log debug information
6868
run: |
@@ -73,7 +73,7 @@ jobs:
7373
svn --version
7474
7575
- name: Install NodeJS
76-
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
76+
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
7777
with:
7878
node-version-file: '.nvmrc'
7979
cache: npm
@@ -122,7 +122,7 @@ jobs:
122122
if: ${{ github.repository == 'WordPress/wordpress-develop' }}
123123
steps:
124124
- name: Checkout repository
125-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
125+
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
126126

127127
- name: Log debug information
128128
run: |
@@ -133,7 +133,7 @@ jobs:
133133
svn --version
134134
135135
- name: Install NodeJS
136-
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
136+
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
137137
with:
138138
node-version-file: '.nvmrc'
139139
cache: npm
@@ -188,7 +188,7 @@ jobs:
188188
189189
steps:
190190
- name: Dispatch workflow run
191-
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
191+
uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
192192
with:
193193
retries: 2
194194
retry-exempt-status-codes: 418

.github/workflows/test-old-branches.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
# Run all branches monthly, but only the currently supported one twice per month.
6868
steps:
6969
- name: Dispatch workflow run
70-
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
70+
uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
7171
if: ${{ github.event_name == 'push' || github.event.schedule == '0 0 15 * *' || matrix.branch == '6.0' }}
7272
with:
7373
retries: 2

0 commit comments

Comments
 (0)