Skip to content

Commit f2a4205

Browse files
committed
Build/Test Tools: Update 3rd-party GitHub Actions.
This applies several updates to the following 3rd-party GitHub Actions: - `actions/setup-node` - `actions/cache` - `actions/upload-artifact` - `slackapi/slack-github-action` - `codecov/codecov-action`. See #61564. git-svn-id: https://develop.svn.wordpress.org/trunk@59208 602fd350-edb4-49c9-b593-d223f7449a82
1 parent e9e9d29 commit f2a4205

14 files changed

+32
-29
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
3636

3737
- name: Set up Node.js
38-
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
38+
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
3939
with:
4040
node-version-file: '.nvmrc'
4141
cache: npm

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
run: echo "date=$(/bin/date -u --date='last Mon' "+%F")" >> $GITHUB_OUTPUT
6161

6262
- name: Cache PHPCS scan cache
63-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
63+
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
6464
with:
6565
path: |
6666
.cache/phpcs-src.json

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

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

7070
- name: Set up Node.js
71-
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
71+
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
7272
with:
7373
node-version-file: '.nvmrc'
7474
cache: npm
@@ -125,12 +125,13 @@ jobs:
125125
run: npm run test:e2e
126126

127127
- name: Archive debug artifacts (screenshots, HTML snapshots)
128-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
128+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
129129
if: always()
130130
with:
131131
name: failures-artifacts${{ inputs.LOCAL_SCRIPT_DEBUG && '-SCRIPT_DEBUG' || '' }}-${{ github.run_id }}
132132
path: artifacts
133133
if-no-files-found: ignore
134+
include-hidden-files: true
134135

135136
- name: Ensure version-controlled files are not modified or deleted
136137
run: git diff --exit-code

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
3131

3232
- name: Set up Node.js
33-
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
33+
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
3434
with:
3535
node-version-file: '.nvmrc'
3636
cache: npm

.github/workflows/reusable-performance.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
run: echo "TARGET_SHA=$(git rev-parse HEAD^1)" >> $GITHUB_ENV
123123

124124
- name: Set up Node.js
125-
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
125+
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
126126
with:
127127
node-version-file: '.nvmrc'
128128
cache: npm
@@ -285,12 +285,13 @@ jobs:
285285
run: npm run test:performance
286286

287287
- name: Archive artifacts
288-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
288+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
289289
if: always()
290290
with:
291291
name: performance-artifacts${{ inputs.memcached && '-memcached' || '' }}-${{ github.run_id }}
292292
path: artifacts
293293
if-no-files-found: ignore
294+
include-hidden-files: true
294295

295296
- name: Compare results
296297
run: node ./tests/performance/compare-results.js ${{ runner.temp }}/summary.md

.github/workflows/reusable-php-compatibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
run: echo "date=$(/bin/date -u --date='last Mon' "+%F")" >> $GITHUB_OUTPUT
5959

6060
- name: Cache PHP compatibility scan cache
61-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
61+
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
6262
with:
6363
path: .cache/phpcompat.json
6464
key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-php-${{ inputs.php-version }}-phpcompat-cache-${{ hashFiles('**/composer.json', 'phpcompat.xml.dist') }}

.github/workflows/reusable-phpunit-tests-v1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
9696

9797
- name: Set up Node.js
98-
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
98+
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
9999
with:
100100
node-version-file: '.nvmrc'
101101
cache: npm
@@ -108,7 +108,7 @@ jobs:
108108

109109
- name: Cache Composer dependencies
110110
if: ${{ env.COMPOSER_INSTALL == true }}
111-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
111+
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
112112
env:
113113
cache-name: cache-composer-dependencies
114114
with:

.github/workflows/reusable-phpunit-tests-v2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
9999

100100
- name: Install Node.js
101-
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
101+
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
102102
with:
103103
node-version-file: '.nvmrc'
104104
cache: npm
@@ -111,7 +111,7 @@ jobs:
111111
run: echo "composer_dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
112112

113113
- name: Cache Composer dependencies
114-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
114+
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
115115
env:
116116
cache-name: cache-composer-dependencies
117117
with:

.github/workflows/reusable-phpunit-tests-v3.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
104104

105105
- name: Set up Node.js
106-
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
106+
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
107107
with:
108108
node-version-file: '.nvmrc'
109109
cache: npm

.github/workflows/reusable-test-core-build-process.yml

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

6565
- name: Set up Node.js
66-
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
66+
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
6767
with:
6868
node-version-file: '.nvmrc'
6969
cache: npm
@@ -101,7 +101,7 @@ jobs:
101101
run: git diff --exit-code
102102

103103
- name: Upload ZIP as a GitHub Actions artifact
104-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
104+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
105105
if: ${{ inputs.save-build || inputs.prepare-playground }}
106106
with:
107107
name: wordpress-build-${{ github.event_name == 'pull_request' && github.event.number || github.sha }}
@@ -117,7 +117,7 @@ jobs:
117117
# Uploads the PR number as an artifact for the Pull Request Commenting workflow to download and then
118118
# leave a comment detailing how to test the PR within WordPress Playground.
119119
- name: Upload PR number as artifact
120-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
120+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
121121
if: ${{ inputs.prepare-playground && github.repository == 'WordPress/wordpress-develop' && github.event_name == 'pull_request' }}
122122
with:
123123
name: pr-number

0 commit comments

Comments
 (0)