Make WordPress Core

Changeset 57362


Ignore:
Timestamp:
01/26/2024 01:48:01 PM (16 months ago)
Author:
desrosj
Message:

Build/Test Tools: Update third-party GitHub Actions.

This updates the following third-party GitHub Actions to their latest versions:

  • actions/setup-node from 3.8.1 to 4.0.1
  • actions/upload-artifact from 3.1.2 to 4.3.0
  • shivammathur/setup-php from 2.28.0 to 2.29.0
  • actions/cache from 3.3.2 to 4.0.0
  • codecov/codecov-action from 3.1.4 to 3.1.5

Most notably, these updates silence newly encountered notices as a result of GitHub beginning to transition away from Node.js 16 to Node.js 20 (see https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/).

Props swissspidy.
See #59805.

Location:
trunk/.github/workflows
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/callable-test-core-build-process.yml

    r57249 r57362  
    4747
    4848      - name: Set up Node.js
    49         uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
     49        uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
    5050        with:
    5151          node-version-file: '.nvmrc'
     
    8080
    8181      - name: Upload ZIP as a GitHub Actions artifact
    82         uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
     82        uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
    8383        if: ${{ inputs.directory == 'build' && 'ubuntu-latest' == inputs.os }}
    8484        with:
  • trunk/.github/workflows/callable-test-gutenberg-build-process.yml

    r57250 r57362  
    5656
    5757      - name: Set up Node.js
    58         uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
     58        uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
    5959        with:
    6060          node-version-file: '.nvmrc'
  • trunk/.github/workflows/coding-standards.yml

    r57249 r57362  
    7676
    7777      - name: Set up PHP
    78         uses: shivammathur/setup-php@e6f75134d35752277f093989e72e140eaa222f35 # v2.28.0
     78        uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2.29.0
    7979        with:
    8080          php-version: 'latest'
     
    8989
    9090      - name: Cache PHPCS scan cache
    91         uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
     91        uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
    9292        with:
    9393          path: |
     
    153153
    154154      - name: Set up Node.js
    155         uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
     155        uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
    156156        with:
    157157          node-version-file: '.nvmrc'
  • trunk/.github/workflows/end-to-end-tests.yml

    r57249 r57362  
    7777
    7878      - name: Set up Node.js
    79         uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
     79        uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
    8080        with:
    8181          node-version-file: '.nvmrc'
     
    128128
    129129      - name: Archive debug artifacts (screenshots, HTML snapshots)
    130         uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
     130        uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
    131131        if: always()
    132132        with:
  • trunk/.github/workflows/install-testing.yml

    r57220 r57362  
    142142    steps:
    143143      - name: Set up PHP ${{ matrix.php }}
    144         uses: shivammathur/setup-php@e6f75134d35752277f093989e72e140eaa222f35 # v2.28.0
     144        uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2.29.0
    145145        with:
    146146          php-version: '${{ matrix.php }}'
  • trunk/.github/workflows/javascript-tests.yml

    r57249 r57362  
    6868
    6969      - name: Set up Node.js
    70         uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
     70        uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
    7171        with:
    7272          node-version-file: '.nvmrc'
  • trunk/.github/workflows/performance.yml

    r57249 r57362  
    111111
    112112      - name: Set up Node.js
    113         uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
     113        uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
    114114        with:
    115115          node-version-file: '.nvmrc'
     
    193193
    194194      - name: Set up Node.js
    195         uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
     195        uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
    196196        with:
    197197          node-version-file: '.nvmrc'
     
    221221
    222222      - name: Set up Node.js
    223         uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
     223        uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
    224224        with:
    225225          node-version-file: '.nvmrc'
  • trunk/.github/workflows/php-compatibility.yml

    r57197 r57362  
    7171
    7272      - name: Set up PHP
    73         uses: shivammathur/setup-php@e6f75134d35752277f093989e72e140eaa222f35 # v2.28.0
     73        uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2.29.0
    7474        with:
    7575          php-version: '7.4'
     
    8888
    8989      - name: Cache PHP compatibility scan cache
    90         uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
     90        uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
    9191        with:
    9292          path: .cache/phpcompat.json
  • trunk/.github/workflows/phpunit-tests-run.yml

    r57249 r57362  
    9191
    9292      - name: Set up Node.js
    93         uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
     93        uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
    9494        with:
    9595          node-version-file: '.nvmrc'
     
    104104      ##
    105105      - name: Set up PHP
    106         uses: shivammathur/setup-php@e6f75134d35752277f093989e72e140eaa222f35 # v2.28.0
     106        uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2.29.0
    107107        with:
    108108          php-version: '${{ inputs.php }}'
  • trunk/.github/workflows/test-and-zip-default-themes.yml

    r57197 r57362  
    132132
    133133      - name: Set up Node.js
    134         uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
     134        uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
    135135        with:
    136136          node-version-file: '.nvmrc'
     
    188188
    189189      - name: Upload theme ZIP as an artifact
    190         uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
     190        uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
    191191        with:
    192192          if-no-files-found: error
  • trunk/.github/workflows/test-build-processes.yml

    r57210 r57362  
    125125
    126126      - name: Upload PR number as artifact
    127         uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
     127        uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
    128128        with:
    129129          name: pr-number
  • trunk/.github/workflows/test-coverage.yml

    r57249 r57362  
    8282
    8383      - name: Set up Node.js
    84         uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
     84        uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
    8585        with:
    8686          node-version-file: '.nvmrc'
     
    9595      ##
    9696      - name: Set up PHP
    97         uses: shivammathur/setup-php@e6f75134d35752277f093989e72e140eaa222f35 # v2.28.0
     97        uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2.29.0
    9898        with:
    9999          php-version: '7.4'
     
    153153      - name: Upload single site report to Codecov
    154154        if: ${{ ! matrix.multisite && github.event_name != 'pull_request' }}
    155         uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
     155        uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # v3.1.5
    156156        with:
    157157          file: wp-code-coverage-single-clover-${{ github.sha }}.xml
     
    168168      - name: Upload multisite report to Codecov
    169169        if: ${{ matrix.multisite && github.event_name != 'pull_request' }}
    170         uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
     170        uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # v3.1.5
    171171        with:
    172172          file: wp-code-coverage-multisite-clover-${{ github.sha }}.xml
  • trunk/.github/workflows/upgrade-testing-run.yml

    r57197 r57362  
    6363    steps:
    6464      - name: Set up PHP ${{ inputs.php }}
    65         uses: shivammathur/setup-php@e6f75134d35752277f093989e72e140eaa222f35 # v2.28.0
     65        uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2.29.0
    6666        with:
    6767          php-version: '${{ inputs.php }}'
Note: See TracChangeset for help on using the changeset viewer.