Allow jobs to upgrade to macos-15 (using -latest) (#16321)

# Objective

With [macos-15 becoming the new `-latest`
soon](https://github.com/github/roadmap/issues/986), there's probably no
particular reason left to pin a runner version here. May as well take
the upgrade as it rolls out.

Note that these are still m1-based, you'd have to request a larger
runner to get m2.
This commit is contained in:
Rich Churcher 2024-11-10 19:34:34 +13:00 committed by GitHub
parent fb607b1bd1
commit 745e27ca22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -72,8 +72,7 @@ jobs:
run: cargo run -p ci -- lints run: cargo run -p ci -- lints
miri: miri:
# Explicitly use macOS 14 to take advantage of M1 chip. runs-on: macos-latest
runs-on: macos-14
timeout-minutes: 60 timeout-minutes: 60
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -254,8 +253,7 @@ jobs:
echo 'You can find the extension here: https://marketplace.visualstudio.com/items?itemName=tekumara.typos-vscode' echo 'You can find the extension here: https://marketplace.visualstudio.com/items?itemName=tekumara.typos-vscode'
run-examples-macos-metal: run-examples-macos-metal:
# Explicitly use macOS 14 to take advantage of M1 chip. runs-on: macos-latest
runs-on: macos-14
timeout-minutes: 30 timeout-minutes: 30
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4