Make WordPress Core


Ignore:
Timestamp:
09/07/2023 04:49:18 PM (19 months ago)
Author:
desrosj
Message:

Build/Test Tools: Update 3rd-party GitHub Actions.

This updates all 3rd-party GitHub actions to their latest versions. The following actions were updated:

  • actions/cache
  • actions/checkout
  • actions/setup-node
  • codecov/codecov-action
  • shivammathur/setup-php
  • slackapi/slack-github-action

In the latest version of actions/checkout (4.0.0), a new input was introduced to control the output of command progress. This change uses this new show-progress input to turn off displaying progress by default. Progress will be shown when a workflow is run with debug mode enabled, just in case it contains helpful information.

Props johnbillion, desrosj.
See #58867.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/phpunit-tests-run.yml

    r56498 r56537  
    8686
    8787      - name: Checkout repository
    88         uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
     88        uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     89        with:
     90          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    8991
    9092      - name: Set up Node.js
    91         uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
     93        uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
    9294        with:
    9395          node-version-file: '.nvmrc'
     
    102104      ##
    103105      - name: Set up PHP
    104         uses: shivammathur/setup-php@d30ad8b1843ace22e6698ab99bbafaa747b6bd0d # v2.24.0
     106        uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2.25.4
    105107        with:
    106108          php-version: '${{ inputs.php }}'
     
    174176      - name: Checkout the WordPress Test Reporter
    175177        if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/trunk' && inputs.report }}
    176         uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
     178        uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
    177179        with:
    178180          repository: 'WordPress/phpunit-test-runner'
    179181          path: 'test-runner'
     182          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    180183
    181184      - name: Submit test results to the WordPress.org host test results
Note: See TracChangeset for help on using the changeset viewer.