Skip to content

Commit

Permalink
github/workflows: use macos-15 GitHub Actions runners.
Browse files Browse the repository at this point in the history
- Let's use this instead of macOS 14/latest when possible.
- Keep around macOS 13 to ensure we're still testing x86_64.
  • Loading branch information
MikeMcQuaid committed Sep 30, 2024
1 parent 929a1b1 commit 8dc9e11
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pkg-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ defaults:
jobs:
build:
if: github.repository_owner == 'Homebrew' && github.actor != 'dependabot[bot]'
runs-on: macos-latest
runs-on: macos-15
outputs:
installer_path: "Homebrew-${{ steps.homebrew-version.outputs.version }}.pkg"
env:
Expand Down Expand Up @@ -143,6 +143,8 @@ jobs:
# Apple Silicon
- runner: macos-14
name: macos-14-arm64
- runner: macos-15
name: macos-15-arm64
steps:
- name: Download installer from GitHub Actions
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
Expand Down Expand Up @@ -188,7 +190,7 @@ jobs:

upload:
needs: [build, test]
runs-on: macos-latest
runs-on: macos-15
permissions:
# To write assets to GitHub release
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sorbet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ defaults:
jobs:
tapioca:
if: github.repository == 'Homebrew/brew'
runs-on: macos-14
runs-on: macos-15
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ jobs:
name: cask audit
needs: syntax
if: github.repository_owner == 'Homebrew'
runs-on: macos-14
runs-on: macos-15
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:
- name: update-test (Ubuntu 22.04)
runs-on: ubuntu-22.04
- name: update-test (macOS)
runs-on: macos-14
runs-on: macos-15
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand Down Expand Up @@ -264,9 +264,9 @@ jobs:
- name: tests (macOS 13 x86_64)
test-flags: --coverage
runs-on: macos-13
- name: tests (macOS 14 arm64)
- name: tests (macOS 15 arm64)
test-flags: --coverage
runs-on: macos-14
runs-on: macos-15
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand Down Expand Up @@ -369,8 +369,8 @@ jobs:
runs-on: ubuntu-20.04
- name: test default formula (macOS 13 x86_64)
runs-on: macos-13
- name: test default formula (macOS 14 arm64)
runs-on: macos-14
- name: test default formula (macOS 15 arm64)
runs-on: macos-15
env:
HOMEBREW_TEST_BOT_ANALYTICS: 1
HOMEBREW_ENFORCE_SBOM: 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vendor-gems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defaults:
jobs:
vendor-gems:
if: github.repository_owner == 'Homebrew'
runs-on: macos-14
runs-on: macos-15
steps:
- name: Set up Homebrew
id: set-up-homebrew
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/dev-cmd/tap-new.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def run
test-bot:
strategy:
matrix:
os: [ubuntu-22.04, macos-13, macos-14]
os: [ubuntu-22.04, macos-13, macos-15]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Homebrew
Expand Down

0 comments on commit 8dc9e11

Please sign in to comment.