Make WordPress Core


Ignore:
Timestamp:
04/08/2022 06:37:20 PM (3 years ago)
Author:
desrosj
Message:

Build/Test Tools: Update all 3rd party actions to their latest versions.

This updates all 3rd party GitHub actions to their latest versions.

  • actions/cache from 2.1.6 to 3.0.1.
  • actions/github-script from 5.0.0 to 6.0.0.
  • actions/setup-node from 2.4.1 to 3.1.0.
  • codecov/codecov-action from 2.1.0 to 3.0.0.
  • ramsey/composer-install from 1.3.0 to 2.1.0.
  • shivammathur/setup-php from 2.15.0 to 2.18.0.

Additionally, this updates all instances of the actions/setup-node action to replace the node-version option with the new node-version-file. This simplifies the process of changing the version of NodeJS used in workflows by only requiring the version to be changed once in the .nvmrc file.

See #54725.

File:
1 edited

Legend:

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

    r52233 r53112  
    114114
    115115      - name: Install NodeJS
    116         uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c # v2.4.1
     116        uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
    117117        with:
    118           node-version: 14
     118          node-version-file: '.nvmrc'
    119119          cache: npm
    120120
     
    133133
    134134      - name: Cache Composer dependencies
    135         uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6
     135        uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0 # v3.0.1
    136136        env:
    137137          cache-name: cache-composer-dependencies
Note: See TracChangeset for help on using the changeset viewer.