Make WordPress Core

Changeset 59208


Ignore:
Timestamp:
10/10/2024 05:08:15 PM (3 months ago)
Author:
desrosj
Message:

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

This applies several updates to the following 3rd-party GitHub Actions:

  • actions/setup-node
  • actions/cache
  • actions/upload-artifact
  • slackapi/slack-github-action
  • codecov/codecov-action.

See #61564.

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

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/reusable-coding-standards-javascript.yml

    r58789 r59208  
    3636
    3737      - name: Set up Node.js
    38         uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
     38        uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
    3939        with:
    4040          node-version-file: '.nvmrc'
  • trunk/.github/workflows/reusable-coding-standards-php.yml

    r58789 r59208  
    6161
    6262      - name: Cache PHPCS scan cache
    63         uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
     63        uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
    6464        with:
    6565          path: |
  • trunk/.github/workflows/reusable-end-to-end-tests.yml

    r58789 r59208  
    6969
    7070      - name: Set up Node.js
    71         uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
     71        uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
    7272        with:
    7373          node-version-file: '.nvmrc'
     
    126126
    127127      - name: Archive debug artifacts (screenshots, HTML snapshots)
    128         uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
     128        uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
    129129        if: always()
    130130        with:
     
    132132          path: artifacts
    133133          if-no-files-found: ignore
     134          include-hidden-files: true
    134135
    135136      - name: Ensure version-controlled files are not modified or deleted
  • trunk/.github/workflows/reusable-javascript-tests.yml

    r58789 r59208  
    3131
    3232      - name: Set up Node.js
    33         uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
     33        uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
    3434        with:
    3535          node-version-file: '.nvmrc'
  • trunk/.github/workflows/reusable-performance.yml

    r59170 r59208  
    123123
    124124      - name: Set up Node.js
    125         uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
     125        uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
    126126        with:
    127127          node-version-file: '.nvmrc'
     
    286286
    287287      - name: Archive artifacts
    288         uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
     288        uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
    289289        if: always()
    290290        with:
     
    292292          path: artifacts
    293293          if-no-files-found: ignore
     294          include-hidden-files: true
    294295
    295296      - name: Compare results
  • trunk/.github/workflows/reusable-php-compatibility.yml

    r58789 r59208  
    5959
    6060      - name: Cache PHP compatibility scan cache
    61         uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
     61        uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
    6262        with:
    6363          path: .cache/phpcompat.json
  • trunk/.github/workflows/reusable-phpunit-tests-v1.yml

    r58789 r59208  
    9696
    9797      - name: Set up Node.js
    98         uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
     98        uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
    9999        with:
    100100          node-version-file: '.nvmrc'
     
    109109      - name: Cache Composer dependencies
    110110        if: ${{ env.COMPOSER_INSTALL == true }}
    111         uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
     111        uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
    112112        env:
    113113          cache-name: cache-composer-dependencies
  • trunk/.github/workflows/reusable-phpunit-tests-v2.yml

    r58789 r59208  
    9999
    100100      - name: Install Node.js
    101         uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
     101        uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
    102102        with:
    103103          node-version-file: '.nvmrc'
     
    112112
    113113      - name: Cache Composer dependencies
    114         uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
     114        uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
    115115        env:
    116116          cache-name: cache-composer-dependencies
  • trunk/.github/workflows/reusable-phpunit-tests-v3.yml

    r59168 r59208  
    104104
    105105      - name: Set up Node.js
    106         uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
     106        uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
    107107        with:
    108108          node-version-file: '.nvmrc'
  • trunk/.github/workflows/reusable-test-core-build-process.yml

    r58789 r59208  
    6464
    6565      - name: Set up Node.js
    66         uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
     66        uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
    6767        with:
    6868          node-version-file: '.nvmrc'
     
    102102
    103103      - name: Upload ZIP as a GitHub Actions artifact
    104         uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
     104        uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
    105105        if: ${{ inputs.save-build || inputs.prepare-playground }}
    106106        with:
     
    118118      # leave a comment detailing how to test the PR within WordPress Playground.
    119119      - name: Upload PR number as artifact
    120         uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
     120        uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
    121121        if: ${{ inputs.prepare-playground && github.repository == 'WordPress/wordpress-develop' && github.event_name == 'pull_request' }}
    122122        with:
  • trunk/.github/workflows/reusable-test-gutenberg-build-process.yml

    r58789 r59208  
    5656
    5757      - name: Set up Node.js
    58         uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
     58        uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
    5959        with:
    6060          node-version-file: '.nvmrc'
  • trunk/.github/workflows/slack-notifications.yml

    r58789 r59208  
    168168    steps:
    169169      - name: Post failure notifications to Slack
    170         uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0
     170        uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0
    171171        with:
    172172          payload: ${{ needs.prepare.outputs.payload }}
     
    184184    steps:
    185185      - name: Post failure notifications to Slack
    186         uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0
     186        uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0
    187187        with:
    188188          payload: ${{ needs.prepare.outputs.payload }}
     
    200200    steps:
    201201      - name: Post success notifications to Slack
    202         uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0
     202        uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0
    203203        with:
    204204          payload: ${{ needs.prepare.outputs.payload }}
     
    216216    steps:
    217217      - name: Post cancelled notifications to Slack
    218         uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0
     218        uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0
    219219        with:
    220220          payload: ${{ needs.prepare.outputs.payload }}
  • trunk/.github/workflows/test-and-zip-default-themes.yml

    r59150 r59208  
    133133
    134134      - name: Set up Node.js
    135         uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
     135        uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
    136136        with:
    137137          node-version-file: '.nvmrc'
     
    190190
    191191      - name: Upload theme ZIP as an artifact
    192         uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
    193         with:
    194           if-no-files-found: error
     192        uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
     193        with:
    195194          name: ${{ matrix.theme }}
    196195          path: src/wp-content/themes/${{ matrix.theme }}
     196          if-no-files-found: error
     197          include-hidden-files: true
    197198
    198199  slack-notifications:
  • trunk/.github/workflows/test-coverage.yml

    r58789 r59208  
    8282
    8383      - name: Set up Node.js
    84         uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
     84        uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
    8585        with:
    8686          node-version-file: '.nvmrc'
     
    152152      - name: Upload single site report to Codecov
    153153        if: ${{ ! matrix.multisite && matrix.format == 'clover' && github.event_name != 'pull_request' }}
    154         uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
     154        uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
    155155        with:
    156156          token: ${{ secrets.CODECOV_TOKEN }}
     
    161161      - name: Upload single site HTML report as artifact
    162162        if: ${{ ! matrix.multisite && matrix.format == 'html' }}
    163         uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
     163        uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
    164164        with:
    165165          name: wp-code-coverage-single-${{ github.sha }}
     
    176176      - name: Upload multisite report to Codecov
    177177        if: ${{ matrix.multisite && matrix.format == 'clover' && github.event_name != 'pull_request' }}
    178         uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
     178        uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
    179179        with:
    180180          token: ${{ secrets.CODECOV_TOKEN }}
     
    185185      - name: Upload multisite HTML report as artifact
    186186        if: ${{ matrix.multisite && matrix.format == 'html' }}
    187         uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
     187        uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
    188188        with:
    189189          name: wp-code-coverage-multisite-${{ github.sha }}
Note: See TracChangeset for help on using the changeset viewer.