Make WordPress Core


Ignore:
Timestamp:
09/07/2023 04:49:18 PM (10 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/test-and-zip-default-themes.yml

    r56402 r56537  
    8080    steps:
    8181      - name: Checkout repository
    82         uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
     82        uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
    8383        with:
    8484          ref: ${{ github.event_name == 'workflow_dispatch' && inputs.branch || github.ref }}
     85          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    8586
    8687      - name: Set up Node.js
    87         uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
     88        uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
    8889        with:
    8990          node-version-file: '.nvmrc'
     
    134135    steps:
    135136      - name: Checkout repository
    136         uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
     137        uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
    137138        with:
    138139          ref: ${{ github.event_name == 'workflow_dispatch' && inputs.branch || github.ref }}
     140          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    139141
    140142      - name: Upload theme ZIP as an artifact
Note: See TracChangeset for help on using the changeset viewer.