Make WordPress Core


Ignore:
Timestamp:
01/28/2025 02:00:16 PM (16 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/upgrade-testing.yml

    r59687 r59720  
    6363      fail-fast: false
    6464      matrix:
    65         os: [ 'ubuntu-latest' ]
     65        os: [ 'ubuntu-24.04' ]
    6666        php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
    6767        db-type: [ 'mysql' ]
     
    9898      fail-fast: false
    9999      matrix:
    100         os: [ 'ubuntu-latest' ]
     100        os: [ 'ubuntu-24.04' ]
    101101        php: [ '7.2', '7.4', '8.0', '8.4' ]
    102102        db-type: [ 'mysql' ]
     
    126126      fail-fast: false
    127127      matrix:
    128         os: [ 'ubuntu-latest' ]
     128        os: [ 'ubuntu-24.04' ]
    129129        php: [ '7.2', '7.4' ]
    130130        db-type: [ 'mysql' ]
     
    158158      fail-fast: false
    159159      matrix:
    160         os: [ 'ubuntu-latest' ]
     160        os: [ 'ubuntu-24.04' ]
    161161        php: [ '8.0', '8.4' ]
    162162        db-type: [ 'mysql' ]
     
    183183      fail-fast: false
    184184      matrix:
    185         os: [ 'ubuntu-latest' ]
     185        os: [ 'ubuntu-24.04' ]
    186186        php: [ '7.2', '7.4' ]
    187187        db-type: [ 'mysql' ]
     
    217217      fail-fast: false
    218218      matrix:
    219         os: [ 'ubuntu-latest' ]
     219        os: [ 'ubuntu-24.04' ]
    220220        php: [ '8.0', '8.4' ]
    221221        db-type: [ 'mysql' ]
     
    241241      fail-fast: false
    242242      matrix:
    243         os: [ 'ubuntu-latest' ]
     243        os: [ 'ubuntu-24.04' ]
    244244        php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
    245245        db-type: [ 'mysql' ]
     
    286286  failed-workflow:
    287287    name: Failed workflow tasks
    288     runs-on: ubuntu-latest
     288    runs-on: ubuntu-24.04
    289289    permissions:
    290290      actions: write
Note: See TracChangeset for help on using the changeset viewer.