workflows/tests: run tap syntax job on macos-14

Unlike the Ubuntu images [^1], `macos-14` has both core and cask
tapped [^2] so setting up Homebrew should be faster there.

[^1]: https://github.com/actions/runner-images/blob/ubuntu24/20240922.1/images/ubuntu/scripts/build/install-homebrew.sh
[^2]: https://github.com/actions/runner-images/blob/macos-14/20240923.101/images/macos/scripts/build/install-homebrew.sh#L23-L24
This commit is contained in:
Ruoyu Zhong 2024-09-24 20:40:14 +08:00
parent 89b8e32b4f
commit c4f80ed7f7
No known key found for this signature in database

View File

@ -81,7 +81,7 @@ jobs:
name: tap syntax name: tap syntax
needs: syntax needs: syntax
if: github.repository_owner == 'Homebrew' if: github.repository_owner == 'Homebrew'
runs-on: ubuntu-22.04 runs-on: macos-14
steps: steps:
- name: Set up Homebrew - name: Set up Homebrew
id: set-up-homebrew id: set-up-homebrew