Make WordPress Core

Changeset 54511

Timestamp:
10/13/2022 05:49:07 PM (22 months ago)
Author:
desrosj
Message:

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

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

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

The latest versions of these actions fix the warnings that are being triggered after the deprecation of set-output and save-state on GitHub Actions.

For more information, see https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/.

See #56820.

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

Legend:

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

    r54373 r54511  
    6565    steps:
    6666      - name: Checkout repository
    67         uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
     67        uses: actions/checkout@
    6868
    6969      - name: Set up PHP
     
    8686
    8787      - name: Cache PHPCS scan cache
    88         uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # v3.0.10
     88        uses: actions/cache@
    8989        with:
    9090          path: .cache/phpcs.json
     
    141141    steps:
    142142      - name: Checkout repository
    143         uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
     143        uses: actions/checkout@
    144144
    145145      - name: Log debug information
     
    151151
    152152      - name: Install NodeJS
    153         uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
     153        uses: actions/setup-node@
    154154        with:
    155155          node-version-file: '.nvmrc'
     
    199199    steps:
    200200      - name: Dispatch workflow run
    201         uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
     201        uses: actions/github-script@
    202202        with:
    203203          retries: 2
  • trunk/.github/workflows/end-to-end-tests.yml

    r54373 r54511  
    6060
    6161      - name: Checkout repository
    62         uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
     62        uses: actions/checkout@
    6363
    6464      - name: Log debug information
     
    7474
    7575      - name: Install NodeJS
    76         uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
     76        uses: actions/setup-node@
    7777        with:
    7878          node-version-file: '.nvmrc'
     
    147147    steps:
    148148      - name: Dispatch workflow run
    149         uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
     149        uses: actions/github-script@
    150150        with:
    151151          retries: 2
  • trunk/.github/workflows/failed-workflow.yml

    r54373 r54511  
    2525    steps:
    2626      - name: Rerun a workflow
    27         uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
     27        uses: actions/github-script@
    2828        with:
    2929          retries: 2
  • trunk/.github/workflows/javascript-tests.yml

    r54373 r54511  
    5858    steps:
    5959      - name: Checkout repository
    60         uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
     60        uses: actions/checkout@
    6161
    6262      - name: Log debug information
     
    6868
    6969      - name: Install NodeJS
    70         uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
     70        uses: actions/setup-node@
    7171        with:
    7272          node-version-file: '.nvmrc'
     
    115115    steps:
    116116      - name: Dispatch workflow run
    117         uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
     117        uses: actions/github-script@
    118118        with:
    119119          retries: 2
  • trunk/.github/workflows/php-compatibility.yml

    r54373 r54511  
    6060    steps:
    6161      - name: Checkout repository
    62         uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
     62        uses: actions/checkout@
    6363
    6464      - name: Set up PHP
     
    8181
    8282      - name: Cache PHP compatibility scan cache
    83         uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # v3.0.10
     83        uses: actions/cache@
    8484        with:
    8585          path: .cache/phpcompat.json
     
    135135    steps:
    136136      - name: Dispatch workflow run
    137         uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
     137        uses: actions/github-script@
    138138        with:
    139139          retries: 2
  • trunk/.github/workflows/phpunit-tests.yml

    r54507 r54511  
    107107
    108108      - name: Checkout repository
    109         uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
     109        uses: actions/checkout@
    110110
    111111      - name: Install NodeJS
    112         uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
     112        uses: actions/setup-node@
    113113        with:
    114114          node-version-file: '.nvmrc'
     
    129129
    130130      - name: Cache Composer dependencies
    131         uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # v3.0.10
     131        uses: actions/cache@
    132132        env:
    133133          cache-name: cache-composer-dependencies
     
    217217      - name: Checkout the WordPress Test Reporter
    218218        if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/trunk' && matrix.report }}
    219         uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
     219        uses: actions/checkout@
    220220        with:
    221221          repository: 'WordPress/phpunit-test-runner'
     
    256256    steps:
    257257      - name: Dispatch workflow run
    258         uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
     258        uses: actions/github-script@
    259259        with:
    260260          retries: 2
  • trunk/.github/workflows/slack-notifications.yml

    r54373 r54511  
    5454      - name: Determine the status of the previous attempt
    5555        id: previous-attempt-result
    56         uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
     56        uses: actions/github-script@
    5757        with:
    5858          retries: 2
     
    119119      - name: Get the commit message
    120120        id: current-commit-message
    121         uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
     121        uses: actions/github-script@
    122122        if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
    123123        with:
     
    155155    steps:
    156156      - name: Post failure notifications to Slack
    157         uses: slackapi/slack-github-action@936158bbe252e9a6062e793ea4609642c966e302 # v1.21.0
     157        uses: slackapi/slack-github-action@.0
    158158        with:
    159159          payload: ${{ needs.prepare.outputs.payload }}
     
    171171    steps:
    172172      - name: Post failure notifications to Slack
    173         uses: slackapi/slack-github-action@936158bbe252e9a6062e793ea4609642c966e302 # v1.21.0
     173        uses: slackapi/slack-github-action@.0
    174174        with:
    175175          payload: ${{ needs.prepare.outputs.payload }}
     
    187187    steps:
    188188      - name: Post success notifications to Slack
    189         uses: slackapi/slack-github-action@936158bbe252e9a6062e793ea4609642c966e302 # v1.21.0
     189        uses: slackapi/slack-github-action@.0
    190190        with:
    191191          payload: ${{ needs.prepare.outputs.payload }}
     
    203203    steps:
    204204      - name: Post cancelled notifications to Slack
    205         uses: slackapi/slack-github-action@936158bbe252e9a6062e793ea4609642c966e302 # v1.21.0
     205        uses: slackapi/slack-github-action@.0
    206206        with:
    207207          payload: ${{ needs.prepare.outputs.payload }}
  • trunk/.github/workflows/test-coverage.yml

    r54373 r54511  
    7272
    7373      - name: Checkout repository
    74         uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
     74        uses: actions/checkout@
    7575
    7676      - name: Log debug information
     
    8888
    8989      - name: Install NodeJS
    90         uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
     90        uses: actions/setup-node@
    9191        with:
    9292          node-version-file: '.nvmrc'
     
    107107
    108108      - name: Cache Composer dependencies
    109         uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # v3.0.10
     109        uses: actions/cache@
    110110        env:
    111111          cache-name: cache-composer-dependencies
     
    210210    steps:
    211211      - name: Dispatch workflow run
    212         uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
     212        uses: actions/github-script@
    213213        with:
    214214          retries: 2
  • trunk/.github/workflows/test-npm.yml

    r54373 r54511  
    6363    steps:
    6464      - name: Checkout repository
    65         uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
     65        uses: actions/checkout@
    6666
    6767      - name: Log debug information
     
    7474
    7575      - name: Install NodeJS
    76         uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
     76        uses: actions/setup-node@
    7777        with:
    7878          node-version-file: '.nvmrc'
     
    123123    steps:
    124124      - name: Checkout repository
    125         uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
     125        uses: actions/checkout@
    126126
    127127      - name: Log debug information
     
    134134
    135135      - name: Install NodeJS
    136         uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
     136        uses: actions/setup-node@
    137137        with:
    138138          node-version-file: '.nvmrc'
     
    189189    steps:
    190190      - name: Dispatch workflow run
    191         uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
     191        uses: actions/github-script@
    192192        with:
    193193          retries: 2
  • trunk/.github/workflows/test-old-branches.yml

    r54373 r54511  
    6868    steps:
    6969      - name: Dispatch workflow run
    70         uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
     70        uses: actions/github-script@
    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.