Skip to content

Commit 0f8e84c

Browse files
committed
Build/Test Tools: Update third-party GitHub Actions.
This updates the following GitHub Actions: - `actions/cache` from `4.3.0` to `5.0.3`. - `actions/checkout` from `5.0.0` to `6.0.2`. - `actions/download-artifact` from `7.0.0` to `8.0.1`. - `actions/setup-node` from `6.0.0` to `6.3.0`. - `actions/upload-artifact` from `6.0.0` to `7.0.0`. - `ramsey/composer-install` from `3.1.1` to `4.0.0`. - `shivammathur/setup-php` from `2.35.3` to `2.37.0`. - `slackapi/slack-github-action` from `2.1.1` to `3.0.1`. See #64227. git-svn-id: https://develop.svn.wordpress.org/trunk@62033 602fd350-edb4-49c9-b593-d223f7449a82
1 parent e753781 commit 0f8e84c

22 files changed

+54
-54
lines changed

.github/workflows/install-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
119119
steps:
120120
- name: Set up PHP ${{ matrix.php }}
121-
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
121+
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
122122
with:
123123
php-version: '${{ matrix.php }}'
124124
coverage: none

.github/workflows/reusable-build-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
persist-credentials: false
3636

3737
- name: Set up Node.js
38-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
38+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
3939
with:
4040
node-version-file: '.nvmrc'
4141
cache: npm
@@ -53,7 +53,7 @@ jobs:
5353
run: zip -q -r develop.zip wordpress/.
5454

5555
- name: Upload ZIP as a GitHub Actions artifact
56-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
56+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
5757
with:
5858
name: wordpress-develop
5959
path: develop.zip

.github/workflows/reusable-check-built-files.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
4343

4444
- name: Set up Node.js
45-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
45+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
4646
with:
4747
node-version-file: '.nvmrc'
4848
cache: npm
@@ -56,7 +56,7 @@ jobs:
5656
# Since Composer dependencies are installed using `composer update` and no lock file is in version control,
5757
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
5858
- name: Install Composer dependencies
59-
uses: ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # v3.1.1
59+
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
6060
with:
6161
custom-cache-suffix: ${{ steps.get-date.outputs.date }}
6262

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

104104
# Uploads the diff file as an artifact.
105105
- name: Upload diff file as artifact
106-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
106+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
107107
if: ${{ steps.built-file-check.outputs.uncommitted_changes == 'true' }}
108108
with:
109109
name: pr-built-file-changes

.github/workflows/reusable-coding-standards-javascript.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
persist-credentials: false
4141

4242
- name: Set up Node.js
43-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
43+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
4444
with:
4545
node-version-file: '.nvmrc'
4646
cache: npm

.github/workflows/reusable-coding-standards-php.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
persist-credentials: false
5353

5454
- name: Set up PHP
55-
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
55+
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
5656
with:
5757
php-version: ${{ inputs.php-version }}
5858
coverage: none
@@ -75,7 +75,7 @@ jobs:
7575
# Since Composer dependencies are installed using `composer update` and no lock file is in version control,
7676
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
7777
- name: Install Composer dependencies
78-
uses: ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # v3.1.1
78+
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
7979
with:
8080
custom-cache-suffix: ${{ steps.get-date.outputs.date }}
8181

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
persist-credentials: false
8383

8484
- name: Set up Node.js
85-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
85+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
8686
with:
8787
node-version-file: '.nvmrc'
8888
cache: npm
@@ -145,7 +145,7 @@ jobs:
145145
run: npm run test:e2e
146146

147147
- name: Archive debug artifacts (screenshots, HTML snapshots)
148-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
148+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
149149
if: always()
150150
with:
151151
name: failures-artifacts${{ inputs.LOCAL_SCRIPT_DEBUG && '-SCRIPT_DEBUG' || '' }}-${{ github.run_id }}

.github/workflows/reusable-javascript-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
persist-credentials: false
4242

4343
- name: Set up Node.js
44-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
44+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
4545
with:
4646
node-version-file: '.nvmrc'
4747
cache: npm

.github/workflows/reusable-javascript-type-checking-v1.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ jobs:
3333

3434
steps:
3535
- name: Checkout repository
36-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
36+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3737
with:
3838
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
3939
persist-credentials: false
4040

4141
- name: Set up Node.js
42-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
42+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
4343
with:
4444
node-version-file: '.nvmrc'
4545
cache: npm
@@ -53,7 +53,7 @@ jobs:
5353
run: npm ci --ignore-scripts
5454

5555
- name: Cache TypeScript build info
56-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
56+
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
5757
with:
5858
path: |
5959
*.tsbuildinfo
@@ -65,7 +65,7 @@ jobs:
6565
run: npm run typecheck:js
6666

6767
- name: "Save result cache"
68-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
68+
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
6969
if: ${{ !cancelled() }}
7070
with:
7171
path: |

.github/workflows/reusable-performance-report-v2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ jobs:
6262
persist-credentials: false
6363

6464
- name: Set up Node.js
65-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
65+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
6666
with:
6767
node-version-file: '.nvmrc'
6868
cache: npm
6969

7070
- name: Download artifacts
71-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
71+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
7272
with:
7373
pattern: performance-${{ inputs.multisite && 'multisite' || 'single' }}-${{ inputs.memcached && 'memcached' || 'default' }}-*
7474
path: artifacts

.github/workflows/reusable-performance-test-v2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
persist-credentials: false
123123

124124
- name: Set up Node.js
125-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
125+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
126126
with:
127127
node-version-file: '.nvmrc'
128128
cache: npm
@@ -255,7 +255,7 @@ jobs:
255255
TEST_RESULTS_PREFIX: ${{ inputs.subject != 'current' && inputs.subject || '' }}
256256

257257
- name: Archive artifacts
258-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
258+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
259259
if: always()
260260
with:
261261
name: performance-${{ inputs.multisite && 'multisite' || 'single' }}-${{ inputs.memcached && 'memcached' || 'default' }}-${{ inputs.subject }}

0 commit comments

Comments
 (0)