Make WordPress Core

Changeset 52183


Ignore:
Timestamp:
11/16/2021 04:08:03 PM (3 years ago)
Author:
desrosj
Message:

Build/Test Tools: Update all 3rd party GitHub actions to the latest versions.

See #53363.

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

Legend:

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

    r52179 r52183  
    6363    steps:
    6464      - name: Checkout repository
    65         uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
     65        uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
    6666
    6767      - name: Set up PHP
    68         uses: shivammathur/setup-php@afefcaf556d98dc7896cca380e181decb609ca44 # v2.10.0
     68        uses: shivammathur/setup-php@ac7d3d7f84d81a029c20ab72d60264bdb7535831 # v2.15.0
    6969        with:
    7070          php-version: '7.4'
     
    8484
    8585      - name: Cache PHPCS scan cache
    86         uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4
     86        uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6
    8787        with:
    8888          path: .cache/phpcs.json
     
    9090
    9191      - name: Install Composer dependencies
    92         uses: ramsey/composer-install@92a7904348d4ad30236f3611e33b7f0c6f9edd70 # v1.1.0
     92        uses: ramsey/composer-install@a7320a0581dcd0432930c48a0e7ced67e6ec17e8 # v1.3.0
    9393        with:
    9494          composer-options: "--no-progress --no-ansi --no-interaction"
     
    130130    steps:
    131131      - name: Checkout repository
    132         uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
     132        uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
    133133
    134134      - name: Log debug information
     
    140140
    141141      - name: Install NodeJS
    142         uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2
     142        uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c # v2.4.1
    143143        with:
    144144          node-version: 14
  • trunk/.github/workflows/end-to-end-tests.yml

    r52130 r52183  
    5757
    5858      - name: Checkout repository
    59         uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
     59        uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
    6060
    6161      - name: Log debug information
     
    7171
    7272      - name: Install NodeJS
    73         uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2
     73        uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c # v2.4.1
    7474        with:
    7575          node-version: 14
  • trunk/.github/workflows/javascript-tests.yml

    r52130 r52183  
    5656    steps:
    5757      - name: Checkout repository
    58         uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
     58        uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
    5959
    6060      - name: Log debug information
     
    6666
    6767      - name: Install NodeJS
    68         uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2
     68        uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c # v2.4.1
    6969        with:
    7070          node-version: 14
  • trunk/.github/workflows/php-compatibility.yml

    r52179 r52183  
    5757    steps:
    5858      - name: Checkout repository
    59         uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
     59        uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
    6060
    6161      - name: Set up PHP
    62         uses: shivammathur/setup-php@afefcaf556d98dc7896cca380e181decb609ca44 # v2.10.0
     62        uses: shivammathur/setup-php@ac7d3d7f84d81a029c20ab72d60264bdb7535831 # v2.15.0
    6363        with:
    6464          php-version: '7.4'
     
    7878
    7979      - name: Cache PHP compatibility scan cache
    80         uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4
     80        uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6
    8181        with:
    8282          path: .cache/phpcompat.json
     
    8484
    8585      - name: Install Composer dependencies
    86         uses: ramsey/composer-install@92a7904348d4ad30236f3611e33b7f0c6f9edd70 # v1.1.0
     86        uses: ramsey/composer-install@a7320a0581dcd0432930c48a0e7ced67e6ec17e8 # v1.3.0
    8787        with:
    8888          composer-options: "--no-progress --no-ansi --no-interaction"
  • trunk/.github/workflows/phpunit-tests.yml

    r52130 r52183  
    110110
    111111      - name: Checkout repository
    112         uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
     112        uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
    113113
    114114      - name: Install NodeJS
    115         uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2
     115        uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c # v2.4.1
    116116        with:
    117117          node-version: 14
     
    132132
    133133      - name: Cache Composer dependencies
    134         uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4
     134        uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6
    135135        env:
    136136          cache-name: cache-composer-dependencies
     
    231231      - name: Checkout the WordPress Test Reporter
    232232        if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/trunk' && matrix.report }}
    233         uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
     233        uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
    234234        with:
    235235          repository: 'WordPress/phpunit-test-runner'
  • trunk/.github/workflows/slack-notifications.yml

    r52002 r52183  
    135135    steps:
    136136      - name: Post failure notifications to Slack
    137         uses: slackapi/slack-github-action@d5d276d7ae0f38f29322b80da9baf985cc80f8b1 # v1.15.0
     137        uses: slackapi/slack-github-action@410ae57cff5c6b682b106440be0e6c7eb8c98c9d # v1.16.0
    138138        with:
    139139          payload: ${{ needs.prepare.outputs.payload }}
     
    150150    steps:
    151151      - name: Post failure notifications to Slack
    152         uses: slackapi/slack-github-action@d5d276d7ae0f38f29322b80da9baf985cc80f8b1 # v1.15.0
     152        uses: slackapi/slack-github-action@410ae57cff5c6b682b106440be0e6c7eb8c98c9d # v1.16.0
    153153        with:
    154154          payload: ${{ needs.prepare.outputs.payload }}
     
    165165    steps:
    166166      - name: Post success notifications to Slack
    167         uses: slackapi/slack-github-action@d5d276d7ae0f38f29322b80da9baf985cc80f8b1 # v1.15.0
     167        uses: slackapi/slack-github-action@410ae57cff5c6b682b106440be0e6c7eb8c98c9d # v1.16.0
    168168        with:
    169169          payload: ${{ needs.prepare.outputs.payload }}
     
    180180    steps:
    181181      - name: Post cancelled notifications to Slack
    182         uses: slackapi/slack-github-action@d5d276d7ae0f38f29322b80da9baf985cc80f8b1 # v1.15.0
     182        uses: slackapi/slack-github-action@410ae57cff5c6b682b106440be0e6c7eb8c98c9d # v1.16.0
    183183        with:
    184184          payload: ${{ needs.prepare.outputs.payload }}
  • trunk/.github/workflows/test-coverage.yml

    r52130 r52183  
    6161
    6262      - name: Checkout repository
    63         uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
     63        uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
    6464
    6565      - name: Log debug information
     
    7777
    7878      - name: Install NodeJS
    79         uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2
     79        uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c # v2.4.1
    8080        with:
    8181          node-version: 14
     
    9696
    9797      - name: Cache Composer dependencies
    98         uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4
     98        uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6
    9999        env:
    100100          cache-name: cache-composer-dependencies
     
    150150      - name: Upload single site report to Codecov
    151151        if: ${{ ! matrix.multisite }}
    152         uses: codecov/codecov-action@e156083f13aff6830c92fc5faa23505779fbf649 # v1.2.1
     152        uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0
    153153        with:
    154154          file: wp-code-coverage-single-clover-${{ github.sha }}.xml
     
    164164      - name: Upload multisite report to Codecov
    165165        if: ${{ matrix.multisite }}
    166         uses: codecov/codecov-action@e156083f13aff6830c92fc5faa23505779fbf649 # v1.2.1
     166        uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0
    167167        with:
    168168          file: wp-code-coverage-multisite-clover-${{ github.sha }}.xml
  • trunk/.github/workflows/test-npm.yml

    r52130 r52183  
    5959    steps:
    6060      - name: Checkout repository
    61         uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
     61        uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
    6262
    6363      - name: Log debug information
     
    7070
    7171      - name: Install NodeJS
    72         uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2
     72        uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c # v2.4.1
    7373        with:
    7474          node-version: 14
     
    117117    steps:
    118118      - name: Checkout repository
    119         uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
     119        uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
    120120
    121121      - name: Log debug information
     
    128128
    129129      - name: Install NodeJS
    130         uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2
     130        uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c # v2.4.1
    131131        with:
    132132          node-version: 14
  • trunk/.github/workflows/test-old-branches.yml

    r52130 r52183  
    5858    steps:
    5959      - name: Dispatch workflow run
    60         uses: actions/github-script@47f7cf65b5ced0830a325f705cad64f2f58dddf7 # v3.1.0
     60        uses: actions/github-script@441359b1a30438de65712c2fbca0abe4816fa667 # v5.0.0
    6161        if: ${{ github.event_name == 'push' || github.event.schedule == '0 0 15 * *' || matrix.branch == '5.7' }}
    6262        with:
    6363          github-token: ${{ secrets.GHA_OLD_BRANCH_DISPATCH }}
    6464          script: |
    65             github.actions.createWorkflowDispatch({
     65            github.rest.actions.createWorkflowDispatch({
    6666              owner: context.repo.owner,
    6767              repo: context.repo.repo,
Note: See TracChangeset for help on using the changeset viewer.