mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
Build/Test Tools: Various minor GitHub Action improvements.
This applies several types of improvements to GitHub Action workflows: - Updates to inline documentation to ensure accuracy. - Removal of repetitive or unnecessary debug logging. - Reorganization of some steps to have configuration steps towards the beginning of jobs. - Step name updates for consistency across workflows. Props desrosj, jrf. See #56793. git-svn-id: https://develop.svn.wordpress.org/trunk@54851 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
8
.github/workflows/php-compatibility.yml
vendored
8
.github/workflows/php-compatibility.yml
vendored
@@ -46,10 +46,10 @@ jobs:
|
||||
# - Sets up PHP.
|
||||
# - Logs debug information.
|
||||
# - Configures caching for PHP compatibility scans.
|
||||
# - Installs Composer dependencies (use cache if possible).
|
||||
# - Installs Composer dependencies.
|
||||
# - Make Composer packages available globally.
|
||||
# - Logs PHP_CodeSniffer debug information.
|
||||
# - Runs the PHP compatibility tests.
|
||||
# - Generate a report for displaying issues as pull request annotations.
|
||||
# - Ensures version-controlled files are not modified or deleted.
|
||||
php-compatibility:
|
||||
name: Check PHP compatibility
|
||||
@@ -70,7 +70,6 @@ jobs:
|
||||
|
||||
- name: Log debug information
|
||||
run: |
|
||||
php --version
|
||||
composer --version
|
||||
|
||||
# This date is used to ensure that the PHP compatibility cache is cleared at least once every week.
|
||||
@@ -93,9 +92,6 @@ jobs:
|
||||
- name: Make Composer packages available globally
|
||||
run: echo "${PWD}/vendor/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Log PHPCS debug information
|
||||
run: phpcs -i
|
||||
|
||||
- name: Run PHP compatibility tests
|
||||
id: phpcs
|
||||
run: phpcs --standard=phpcompat.xml.dist --report-full --report-checkstyle=./.cache/phpcs-compat-report.xml
|
||||
|
||||
Reference in New Issue
Block a user