Make WordPress Core


Ignore:
Timestamp:
04/08/2022 06:37:20 PM (4 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/test-coverage.yml

    r52233 r53112  
    7878
    7979      - name: Install NodeJS
    80         uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c # v2.4.1
     80        uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
    8181        with:
    82           node-version: 14
     82          node-version-file: '.nvmrc'
    8383          cache: npm
    8484
     
    9797
    9898      - name: Cache Composer dependencies
    99         uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6
     99        uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0 # v3.0.1
    100100        env:
    101101          cache-name: cache-composer-dependencies
     
    151151      - name: Upload single site report to Codecov
    152152        if: ${{ ! matrix.multisite }}
    153         uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0
     153        uses: codecov/codecov-action@e3c560433a6cc60aec8812599b7844a7b4fa0d71 # v3.0.0
    154154        with:
    155155          file: wp-code-coverage-single-clover-${{ github.sha }}.xml
Note: See TracChangeset for help on using the changeset viewer.