Make WordPress Core

Changeset 53581


Ignore:
Timestamp:
06/27/2022 06:57:00 PM (2 years ago)
Author:
desrosj
Message:

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

This updates the following GitHub Actions to the latest versions:

  • actions/checkout
  • actions/cache
  • actions/github-script
  • actions/setup-node
  • codecov/codecov-action
  • shivammathur/setup-php
  • slackapi/slack-github-action

See #55652.

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

Legend:

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

    r53112 r53581  
    6464    steps:
    6565      - name: Checkout repository
    66         uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
     66        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
    6767
    6868      - name: Set up PHP
    69         uses: shivammathur/setup-php@d37cc3048580de06099c81ded417530716a0d7ab # v2.18.0
     69        uses: shivammathur/setup-php@3eda58347216592f618bb1dff277810b6698e4ca # v2.19.1
    7070        with:
    7171          php-version: '7.4'
     
    8585
    8686      - name: Cache PHPCS scan cache
    87         uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0 # v3.0.1
     87        uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0 # v3.0.4
    8888        with:
    8989          path: .cache/phpcs.json
     
    132132    steps:
    133133      - name: Checkout repository
    134         uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
     134        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
    135135
    136136      - name: Log debug information
     
    142142
    143143      - name: Install NodeJS
    144         uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
     144        uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0
    145145        with:
    146146          node-version-file: '.nvmrc'
  • trunk/.github/workflows/end-to-end-tests.yml

    r53112 r53581  
    5858
    5959      - name: Checkout repository
    60         uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
     60        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
    6161
    6262      - name: Log debug information
     
    7272
    7373      - name: Install NodeJS
    74         uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
     74        uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0
    7575        with:
    7676          node-version-file: '.nvmrc'
  • trunk/.github/workflows/javascript-tests.yml

    r53112 r53581  
    5757    steps:
    5858      - name: Checkout repository
    59         uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
     59        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
    6060
    6161      - name: Log debug information
     
    6767
    6868      - name: Install NodeJS
    69         uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
     69        uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0
    7070        with:
    7171          node-version-file: '.nvmrc'
  • trunk/.github/workflows/php-compatibility.yml

    r53112 r53581  
    5858    steps:
    5959      - name: Checkout repository
    60         uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
     60        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
    6161
    6262      - name: Set up PHP
    63         uses: shivammathur/setup-php@d37cc3048580de06099c81ded417530716a0d7ab # v2.18.0
     63        uses: shivammathur/setup-php@3eda58347216592f618bb1dff277810b6698e4ca # v2.19.1
    6464        with:
    6565          php-version: '7.4'
     
    7979
    8080      - name: Cache PHP compatibility scan cache
    81         uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0 # v3.0.1
     81        uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0 # v3.0.4
    8282        with:
    8383          path: .cache/phpcompat.json
  • trunk/.github/workflows/phpunit-tests.yml

    r53112 r53581  
    111111
    112112      - name: Checkout repository
    113         uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
     113        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
    114114
    115115      - name: Install NodeJS
    116         uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
     116        uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0
    117117        with:
    118118          node-version-file: '.nvmrc'
     
    133133
    134134      - name: Cache Composer dependencies
    135         uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0 # v3.0.1
     135        uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0 # v3.0.4
    136136        env:
    137137          cache-name: cache-composer-dependencies
     
    232232      - name: Checkout the WordPress Test Reporter
    233233        if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/trunk' && matrix.report }}
    234         uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
     234        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
    235235        with:
    236236          repository: 'WordPress/phpunit-test-runner'
  • trunk/.github/workflows/slack-notifications.yml

    r53534 r53581  
    7171        id: previous-attempt-result
    7272        if: ${{ github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
    73         uses: actions/github-script@9ac08808f993958e9de277fe43a64532a609130e # v6.0.0
     73        uses: actions/github-script@7a5c598405937d486b0331594b5da2b14db670da # v6.1.0
    7474        with:
    7575          script: |
     
    141141      - name: Get the commit message
    142142        id: current-commit-message
    143         uses: actions/github-script@9ac08808f993958e9de277fe43a64532a609130e # v6.0.0
     143        uses: actions/github-script@7a5c598405937d486b0331594b5da2b14db670da # v6.1.0
    144144        if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
    145145        with:
     
    175175    steps:
    176176      - name: Post failure notifications to Slack
    177         uses: slackapi/slack-github-action@16b6c78ee73689a627b65332b34e5d409c7299da # v1.18.0
     177        uses: slackapi/slack-github-action@34c3fd73326693ef04728f8611669d918a2d781d # v1.19.0
    178178        with:
    179179          payload: ${{ needs.prepare.outputs.payload }}
     
    191191    steps:
    192192      - name: Post failure notifications to Slack
    193         uses: slackapi/slack-github-action@16b6c78ee73689a627b65332b34e5d409c7299da # v1.18.0
     193        uses: slackapi/slack-github-action@34c3fd73326693ef04728f8611669d918a2d781d # v1.19.0
    194194        with:
    195195          payload: ${{ needs.prepare.outputs.payload }}
     
    207207    steps:
    208208      - name: Post success notifications to Slack
    209         uses: slackapi/slack-github-action@16b6c78ee73689a627b65332b34e5d409c7299da # v1.18.0
     209        uses: slackapi/slack-github-action@34c3fd73326693ef04728f8611669d918a2d781d # v1.19.0
    210210        with:
    211211          payload: ${{ needs.prepare.outputs.payload }}
     
    223223    steps:
    224224      - name: Post cancelled notifications to Slack
    225         uses: slackapi/slack-github-action@16b6c78ee73689a627b65332b34e5d409c7299da # v1.18.0
     225        uses: slackapi/slack-github-action@34c3fd73326693ef04728f8611669d918a2d781d # v1.19.0
    226226        with:
    227227          payload: ${{ needs.prepare.outputs.payload }}
  • trunk/.github/workflows/test-coverage.yml

    r53554 r53581  
    7272
    7373      - name: Checkout repository
    74         uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
     74        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
    7575
    7676      - name: Log debug information
     
    8888
    8989      - name: Install NodeJS
    90         uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
     90        uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0
    9191        with:
    9292          node-version-file: '.nvmrc'
     
    107107
    108108      - name: Cache Composer dependencies
    109         uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0 # v3.0.1
     109        uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0 # v3.0.4
    110110        env:
    111111          cache-name: cache-composer-dependencies
     
    161161      - name: Upload single site report to Codecov
    162162        if: ${{ ! matrix.multisite && github.event_name != 'pull_request' }}
    163         uses: codecov/codecov-action@e3c560433a6cc60aec8812599b7844a7b4fa0d71 # v3.0.0
     163        uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
    164164        with:
    165165          file: wp-code-coverage-single-clover-${{ github.sha }}.xml
     
    176176      - name: Upload multisite report to Codecov
    177177        if: ${{ matrix.multisite && github.event_name != 'pull_request' }}
    178         uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0
     178        uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
    179179        with:
    180180          file: wp-code-coverage-multisite-clover-${{ github.sha }}.xml
  • trunk/.github/workflows/test-npm.yml

    r53112 r53581  
    6060    steps:
    6161      - name: Checkout repository
    62         uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
     62        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
    6363
    6464      - name: Log debug information
     
    7171
    7272      - name: Install NodeJS
    73         uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
     73        uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0
    7474        with:
    7575          node-version-file: '.nvmrc'
     
    119119    steps:
    120120      - name: Checkout repository
    121         uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
     121        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
    122122
    123123      - name: Log debug information
     
    130130
    131131      - name: Install NodeJS
    132         uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
     132        uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0
    133133        with:
    134134          node-version-file: '.nvmrc'
  • trunk/.github/workflows/test-old-branches.yml

    r53345 r53581  
    6868    steps:
    6969      - name: Dispatch workflow run
    70         uses: actions/github-script@9ac08808f993958e9de277fe43a64532a609130e # v6.0.0
     70        uses: actions/github-script@7a5c598405937d486b0331594b5da2b14db670da # v6.1.0
    7171        if: ${{ github.event_name == 'push' || github.event.schedule == '0 0 15 * *' || matrix.branch == '6.0' }}
    7272        with:
Note: See TracChangeset for help on using the changeset viewer.