Make WordPress Core


Ignore:
Timestamp:
11/16/2022 07:32:57 PM (2 years ago)
Author:
desrosj
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/php-compatibility.yml

    r54750 r54851  
    4747  # - Logs debug information.
    4848  # - Configures caching for PHP compatibility scans.
    49   # - Installs Composer dependencies (use cache if possible).
     49  # - Installs Composer dependencies.
    5050  # - Make Composer packages available globally.
    51   # - Logs PHP_CodeSniffer debug information.
    5251  # - Runs the PHP compatibility tests.
     52  # - Generate a report for displaying issues as pull request annotations.
    5353  # - Ensures version-controlled files are not modified or deleted.
    5454  php-compatibility:
     
    7171      - name: Log debug information
    7272        run: |
    73           php --version
    7473          composer --version
    7574
     
    9392      - name: Make Composer packages available globally
    9493        run: echo "${PWD}/vendor/bin" >> $GITHUB_PATH
    95 
    96       - name: Log PHPCS debug information
    97         run: phpcs -i
    9894
    9995      - name: Run PHP compatibility tests
Note: See TracChangeset for help on using the changeset viewer.