Make WordPress Core


Ignore:
Timestamp:
01/28/2025 02:00:16 PM (19 months ago)
Author:
desrosj
Message:

Build/Test Tools: Avoid using *-latest tags for runner images.

While using the ubuntu-latest, macos-latest, and windows-latest runner image tags is convenient, it has proven to be problematic in a number of instances as the runners are slowly updated (see #62808 and #62843).

This switches all workflows to using specific version tags representing the latest non-preview versions, which currently are as follows:

  • ubuntu-24.04
  • windows-2022
  • macos-14

Props swissspidy, johnbillion.
See #62221.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/phpunit-tests.yml

    r59687 r59720  
    4545      fail-fast: false
    4646      matrix:
    47         os: [ ubuntu-latest ]
     47        os: [ ubuntu-24.04 ]
    4848        php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
    4949        db-type: [ 'mysql' ]
     
    5555        include:
    5656          # Include jobs that test with memcached.
    57           - os: ubuntu-latest
     57          - os: ubuntu-24.04
    5858            php: '8.3'
    5959            db-type: 'mysql'
     
    6262            multisite: false
    6363            memcached: true
    64           - os: ubuntu-latest
     64          - os: ubuntu-24.04
    6565            php: '8.3'
    6666            db-type: 'mysql'
     
    7070            memcached: true
    7171          # Include jobs with a port on the test domain for both single and multisite.
    72           - os: ubuntu-latest
     72          - os: ubuntu-24.04
    7373            php: '8.4'
    7474            db-type: 'mysql'
     
    7777            multisite: false
    7878            memcached: false
    79           - os: ubuntu-latest
     79          - os: ubuntu-24.04
    8080            php: '8.4'
    8181            db-type: 'mysql'
     
    8585            memcached: false
    8686          # Report test results to the Host Test Results.
    87           - os: ubuntu-latest
     87          - os: ubuntu-24.04
    8888            db-type: 'mysql'
    8989            db-version: '8.4'
     
    116116      fail-fast: false
    117117      matrix:
    118         os: [ ubuntu-latest ]
     118        os: [ ubuntu-24.04 ]
    119119        php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
    120120        db-type: [ 'mariadb' ]
     
    125125        include:
    126126        # Include jobs that test with memcached.
    127         - os: ubuntu-latest
     127        - os: ubuntu-24.04
    128128          php: '8.3'
    129129          db-type: 'mariadb'
     
    131131          multisite: false
    132132          memcached: true
    133         - os: ubuntu-latest
     133        - os: ubuntu-24.04
    134134          php: '8.3'
    135135          db-type: 'mariadb'
     
    166166      fail-fast: false
    167167      matrix:
    168         os: [ ubuntu-latest ]
     168        os: [ ubuntu-24.04 ]
    169169        php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
    170170        db-type: [ 'mysql', 'mariadb' ]
     
    237237  failed-workflow:
    238238    name: Failed workflow tasks
    239     runs-on: ubuntu-latest
     239    runs-on: ubuntu-24.04
    240240    permissions:
    241241      actions: write
Note: See TracChangeset for help on using the changeset viewer.