Make WordPress Core

Changeset 57757


Ignore:
Timestamp:
03/04/2024 11:04:12 AM (14 months ago)
Author:
desrosj
Message:

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

This updates the following GitHub Actions to their latest versions:

  • shivammathur/setup-php from 2.29.0 to 2.30.0
  • actions/cache from 4.0.0 to 4.0.1
  • ramsey/composer-install from 2.2.0 to 3.0.0
  • codecov/codecov-action from 4.0.1 to 4.1.0

This should address the remaining notices caused by running Node.js 16.x on GitHub Actions runner machines in trunk.

Follow up to [57197], [57362], [57655].

See #59805.

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

Legend:

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

    r57655 r57757  
    7676
    7777      - name: Set up PHP
    78         uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2.29.0
     78        uses: shivammathur/setup-php@a4e22b60bbb9c1021113f2860347b0759f66fe5d # v2.30.0
    7979        with:
    8080          php-version: 'latest'
     
    8989
    9090      - name: Cache PHPCS scan cache
    91         uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
     91        uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1
    9292        with:
    9393          path: |
     
    9999      # passing a custom cache suffix ensures that the cache is flushed at least once per week.
    100100      - name: Install Composer dependencies
    101         uses: ramsey/composer-install@83af392bf5f031813d25e6fe4cd626cdba9a2df6 # v2.2.0
     101        uses: ramsey/composer-install@57532f8be5bda426838819c5ee9afb8af389d51a # v3.0.0
    102102        with:
    103103          custom-cache-suffix: ${{ steps.get-date.outputs.date }}
  • trunk/.github/workflows/install-testing.yml

    r57362 r57757  
    142142    steps:
    143143      - name: Set up PHP ${{ matrix.php }}
    144         uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2.29.0
     144        uses: shivammathur/setup-php@a4e22b60bbb9c1021113f2860347b0759f66fe5d # v2.30.0
    145145        with:
    146146          php-version: '${{ matrix.php }}'
  • trunk/.github/workflows/php-compatibility.yml

    r57362 r57757  
    7171
    7272      - name: Set up PHP
    73         uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2.29.0
     73        uses: shivammathur/setup-php@a4e22b60bbb9c1021113f2860347b0759f66fe5d # v2.30.0
    7474        with:
    7575          php-version: '7.4'
     
    8888
    8989      - name: Cache PHP compatibility scan cache
    90         uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
     90        uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1
    9191        with:
    9292          path: .cache/phpcompat.json
     
    9696      # passing a custom cache suffix ensures that the cache is flushed at least once per week.
    9797      - name: Install Composer dependencies
    98         uses: ramsey/composer-install@83af392bf5f031813d25e6fe4cd626cdba9a2df6 # v2.2.0
     98        uses: ramsey/composer-install@57532f8be5bda426838819c5ee9afb8af389d51a # v3.0.0
    9999        with:
    100100          custom-cache-suffix: ${{ steps.get-date.outputs.date }}
  • trunk/.github/workflows/phpunit-tests-run.yml

    r57655 r57757  
    104104      ##
    105105      - name: Set up PHP
    106         uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2.29.0
     106        uses: shivammathur/setup-php@a4e22b60bbb9c1021113f2860347b0759f66fe5d # v2.30.0
    107107        with:
    108108          php-version: '${{ inputs.php }}'
     
    112112      # passing a custom cache suffix ensures that the cache is flushed at least once per week.
    113113      - name: Install Composer dependencies
    114         uses: ramsey/composer-install@83af392bf5f031813d25e6fe4cd626cdba9a2df6 # v2.2.0
     114        uses: ramsey/composer-install@57532f8be5bda426838819c5ee9afb8af389d51a # v3.0.0
    115115        with:
    116116          custom-cache-suffix: $(/bin/date -u --date='last Mon' "+%F")
  • trunk/.github/workflows/test-coverage.yml

    r57655 r57757  
    9595      ##
    9696      - name: Set up PHP
    97         uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2.29.0
     97        uses: shivammathur/setup-php@a4e22b60bbb9c1021113f2860347b0759f66fe5d # v2.30.0
    9898        with:
    9999          php-version: '7.4'
     
    103103      # passing a custom cache suffix ensures that the cache is flushed at least once per week.
    104104      - name: Install Composer dependencies
    105         uses: ramsey/composer-install@83af392bf5f031813d25e6fe4cd626cdba9a2df6 # v2.2.0
     105        uses: ramsey/composer-install@57532f8be5bda426838819c5ee9afb8af389d51a # v3.0.0
    106106        with:
    107107          custom-cache-suffix: $(/bin/date -u --date='last Mon' "+%F")
     
    153153      - name: Upload single site report to Codecov
    154154        if: ${{ ! matrix.multisite && github.event_name != 'pull_request' }}
    155         uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4.0.1
     155        uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab # v4.1.0
    156156        with:
    157157          token: ${{ secrets.CODECOV_TOKEN }}
     
    177177      - name: Upload multisite report to Codecov
    178178        if: ${{ matrix.multisite && github.event_name != 'pull_request' }}
    179         uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4.0.1
     179        uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab # v4.1.0
    180180        with:
    181181          token: ${{ secrets.CODECOV_TOKEN }}
  • trunk/.github/workflows/upgrade-testing-run.yml

    r57362 r57757  
    6363    steps:
    6464      - name: Set up PHP ${{ inputs.php }}
    65         uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2.29.0
     65        uses: shivammathur/setup-php@a4e22b60bbb9c1021113f2860347b0759f66fe5d # v2.30.0
    6666        with:
    6767          php-version: '${{ inputs.php }}'
Note: See TracChangeset for help on using the changeset viewer.