Make WordPress Core

Changeset 56537


Ignore:
Timestamp:
09/07/2023 04:49:18 PM (13 months ago)
Author:
desrosj
Message:

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

This updates all 3rd-party GitHub actions to their latest versions. The following actions were updated:

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

In the latest version of actions/checkout (4.0.0), a new input was introduced to control the output of command progress. This change uses this new show-progress input to turn off displaying progress by default. Progress will be shown when a workflow is run with debug mode enabled, just in case it contains helpful information.

Props johnbillion, desrosj.
See #58867.

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

Legend:

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

    r56388 r56537  
    7474
    7575      - name: Set up PHP
    76         uses: shivammathur/setup-php@d30ad8b1843ace22e6698ab99bbafaa747b6bd0d # v2.24.0
     76        uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2.25.4
    7777        with:
    7878          php-version: '7.4'
     
    8787
    8888      - name: Cache PHPCS scan cache
    89         uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3.2.6
     89        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
    9090        with:
    9191          path: |
     
    149149
    150150      - name: Set up Node.js
    151         uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
     151        uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
    152152        with:
    153153          node-version-file: '.nvmrc'
  • trunk/.github/workflows/end-to-end-tests.yml

    r56388 r56537  
    7272
    7373      - name: Set up Node.js
    74         uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
     74        uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
    7575        with:
    7676          node-version-file: '.nvmrc'
  • trunk/.github/workflows/javascript-tests.yml

    r56402 r56537  
    6666
    6767      - name: Set up Node.js
    68         uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
     68        uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
    6969        with:
    7070          node-version-file: '.nvmrc'
  • trunk/.github/workflows/performance.yml

    r56506 r56537  
    9898
    9999      - name: Checkout repository
    100         uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
     100        uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     101        with:
     102          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    101103
    102104      - name: Set up Node.js
    103         uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
     105        uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
    104106        with:
    105107          node-version-file: '.nvmrc'
  • trunk/.github/workflows/php-compatibility.yml

    r56402 r56537  
    6666    steps:
    6767      - name: Checkout repository
    68         uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
     68        uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     69        with:
     70          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    6971
    7072      - name: Set up PHP
    71         uses: shivammathur/setup-php@d30ad8b1843ace22e6698ab99bbafaa747b6bd0d # v2.24.0
     73        uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2.25.4
    7274        with:
    7375          php-version: '7.4'
     
    8688
    8789      - name: Cache PHP compatibility scan cache
    88         uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3.2.6
     90        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
    8991        with:
    9092          path: .cache/phpcompat.json
  • trunk/.github/workflows/phpunit-tests-run.yml

    r56498 r56537  
    8686
    8787      - name: Checkout repository
    88         uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
     88        uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     89        with:
     90          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    8991
    9092      - name: Set up Node.js
    91         uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
     93        uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
    9294        with:
    9395          node-version-file: '.nvmrc'
     
    102104      ##
    103105      - name: Set up PHP
    104         uses: shivammathur/setup-php@d30ad8b1843ace22e6698ab99bbafaa747b6bd0d # v2.24.0
     106        uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2.25.4
    105107        with:
    106108          php-version: '${{ inputs.php }}'
     
    174176      - name: Checkout the WordPress Test Reporter
    175177        if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/trunk' && inputs.report }}
    176         uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
     178        uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
    177179        with:
    178180          repository: 'WordPress/phpunit-test-runner'
    179181          path: 'test-runner'
     182          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    180183
    181184      - name: Submit test results to the WordPress.org host test results
  • trunk/.github/workflows/slack-notifications.yml

    r56407 r56537  
    162162    steps:
    163163      - name: Post failure notifications to Slack
    164         uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # v1.23.0
     164        uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0
    165165        with:
    166166          payload: ${{ needs.prepare.outputs.payload }}
     
    178178    steps:
    179179      - name: Post failure notifications to Slack
    180         uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # v1.23.0
     180        uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0
    181181        with:
    182182          payload: ${{ needs.prepare.outputs.payload }}
     
    194194    steps:
    195195      - name: Post success notifications to Slack
    196         uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # v1.23.0
     196        uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0
    197197        with:
    198198          payload: ${{ needs.prepare.outputs.payload }}
     
    210210    steps:
    211211      - name: Post cancelled notifications to Slack
    212         uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # v1.23.0
     212        uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0
    213213        with:
    214214          payload: ${{ needs.prepare.outputs.payload }}
  • trunk/.github/workflows/test-and-zip-default-themes.yml

    r56402 r56537  
    8080    steps:
    8181      - name: Checkout repository
    82         uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
     82        uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
    8383        with:
    8484          ref: ${{ github.event_name == 'workflow_dispatch' && inputs.branch || github.ref }}
     85          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    8586
    8687      - name: Set up Node.js
    87         uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
     88        uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
    8889        with:
    8990          node-version-file: '.nvmrc'
     
    134135    steps:
    135136      - name: Checkout repository
    136         uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
     137        uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
    137138        with:
    138139          ref: ${{ github.event_name == 'workflow_dispatch' && inputs.branch || github.ref }}
     140          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    139141
    140142      - name: Upload theme ZIP as an artifact
  • trunk/.github/workflows/test-coverage.yml

    r56402 r56537  
    7777
    7878      - name: Checkout repository
    79         uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
     79        uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     80        with:
     81          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    8082
    8183      - name: Set up Node.js
    82         uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
     84        uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
    8385        with:
    8486          node-version-file: '.nvmrc'
     
    9395      ##
    9496      - name: Set up PHP
    95         uses: shivammathur/setup-php@d30ad8b1843ace22e6698ab99bbafaa747b6bd0d # v2.24.0
     97        uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2.25.4
    9698        with:
    9799          php-version: '7.4'
     
    152154      - name: Upload single site report to Codecov
    153155        if: ${{ ! matrix.multisite && github.event_name != 'pull_request' }}
    154         uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
     156        uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
    155157        with:
    156158          file: wp-code-coverage-single-clover-${{ github.sha }}.xml
     
    167169      - name: Upload multisite report to Codecov
    168170        if: ${{ matrix.multisite && github.event_name != 'pull_request' }}
    169         uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
     171        uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
    170172        with:
    171173          file: wp-code-coverage-multisite-clover-${{ github.sha }}.xml
  • trunk/.github/workflows/test-npm.yml

    r56402 r56537  
    6969    steps:
    7070      - name: Checkout repository
    71         uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
     71        uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     72        with:
     73          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    7274
    7375      - name: Set up Node.js
    74         uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
     76        uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
    7577        with:
    7678          node-version-file: '.nvmrc'
     
    135137    steps:
    136138      - name: Checkout repository
    137         uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
     139        uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
     140        with:
     141          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    138142
    139143      - name: Set up Node.js
    140         uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
     144        uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
    141145        with:
    142146          node-version-file: '.nvmrc'
Note: See TracChangeset for help on using the changeset viewer.