Build/Test Tools: Add the missing reusable-prepare-gutenberg.yml workflow - #12724
Build/Test Tools: Add the missing reusable-prepare-gutenberg.yml workflow#12724lancewillett wants to merge 1 commit into
Conversation
…flow. [62859] added the callers of this reusable workflow (phpunit-tests.yml, reusable-phpunit-tests-v3.yml, and test-coverage.yml) but did not add the reusable-prepare-gutenberg.yml file they depend on, so those workflows reference a reusable workflow that does not exist and fail to load. This reddens actionlint and blocks the PHPUnit workflow from starting on trunk. Add the file: it resolves the Gutenberg build once per run, verifies it (SHA-256 and size), and uploads it as a run artifact the PHPUnit callers consume via the gutenberg-build artifact and the gutenberg-sha output. Follow-up to [62859]. Props lance.willett@automattic.com. See #65721.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
There was a problem hiding this comment.
Pull request overview
Adds the missing reusable GitHub Actions workflow that other CI workflows already reference, restoring trunk CI validity by providing the prepare-gutenberg producer job and its expected outputs/artifacts.
Changes:
- Introduces
.github/workflows/reusable-prepare-gutenberg.ymlas a reusable workflow callable viaworkflow_call. - Downloads and verifies the Gutenberg build (SHA/size via
tools/gutenberg/download.js), uploads it as agutenberg-buildrun artifact, and exposes the resolved immutablegutenberg-shaas an output.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…flow. [62859] added the callers of this reusable workflow (phpunit-tests.yml, reusable-phpunit-tests-v3.yml, and test-coverage.yml) but not the reusable-prepare-gutenberg.yml file they depend on, so those workflows reference a reusable workflow that does not exist and fail to load. Add the file: it resolves the Gutenberg build once per run, verifies it (SHA-256 and size), and uploads it as a run artifact the PHPUnit callers consume. Developed in: #12724 Follow-up to [62859] See #65721 git-svn-id: https://develop.svn.wordpress.org/trunk@62862 602fd350-edb4-49c9-b593-d223f7449a82
…flow. [62859] added the callers of this reusable workflow (phpunit-tests.yml, reusable-phpunit-tests-v3.yml, and test-coverage.yml) but not the reusable-prepare-gutenberg.yml file they depend on, so those workflows reference a reusable workflow that does not exist and fail to load. Add the file: it resolves the Gutenberg build once per run, verifies it (SHA-256 and size), and uploads it as a run artifact the PHPUnit callers consume. Developed in: WordPress/wordpress-develop#12724 Follow-up to [62859] See #65721 Built from https://develop.svn.wordpress.org/trunk@62862 git-svn-id: http://core.svn.wordpress.org/trunk@62142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The download-once change (#12701) added the callers of
reusable-prepare-gutenberg.yml(phpunit-tests.yml,reusable-phpunit-tests-v3.yml, andtest-coverage.yml) but the newreusable-prepare-gutenberg.ymlfile itself was not committed to trunk. Those workflows now reference a reusable workflow that does not exist, so:Lint GitHub Actions workflow filesfails on trunk (actionlint:could not read reusable workflow file ... no such file or directory).phpunit-tests.ymlcalls the missingprepare-gutenbergjob that the whole matrix depends on.This adds the file. It resolves the Gutenberg build once per run, verifies it (SHA-256 and size), uploads it as a
gutenberg-buildrun artifact, and exposes the resolvedgutenberg-shaoutput, the interface the three callers already expect.Verified with
actionlintlocally: the dangling reference resolves and the new file is clean.Follow-up to the download-once landing in #12701 (r62859).
Trac ticket: #65721.