Merge pull request #15308 from ZhongRuoyu/workflows-macos-13

workflows: run on `macos-13`
This commit is contained in:
Mike McQuaid 2023-04-25 15:10:37 +01:00 committed by GitHub
commit 67c118009b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 11 deletions

View File

@ -2,6 +2,9 @@ self-hosted-runner:
# Labels of self-hosted runner in array of strings. # Labels of self-hosted runner in array of strings.
labels: labels:
- 11-arm64 - 11-arm64
# FIXME: Remove `macos-13` when resolved:
# https://github.com/rhysd/actionlint/issues/296
- macos-13
# Configuration variables in array of strings defined in your repository or # Configuration variables in array of strings defined in your repository or
# organization. `null` means disabling configuration variables check. # organization. `null` means disabling configuration variables check.
# Empty array means no configuration variable is allowed. # Empty array means no configuration variable is allowed.

View File

@ -10,7 +10,7 @@ on:
jobs: jobs:
build: build:
runs-on: macos-12 runs-on: macos-13
env: env:
IDENTIFIER: sh.brew.Homebrew IDENTIFIER: sh.brew.Homebrew
TMP_PATH: /tmp/brew TMP_PATH: /tmp/brew

View File

@ -21,7 +21,7 @@ permissions:
jobs: jobs:
tapioca: tapioca:
if: github.repository == 'Homebrew/brew' if: github.repository == 'Homebrew/brew'
runs-on: macos-12 runs-on: macos-13
steps: steps:
- name: Set up Homebrew - name: Set up Homebrew
id: set-up-homebrew id: set-up-homebrew

View File

@ -157,7 +157,7 @@ jobs:
name: cask audit name: cask audit
needs: syntax needs: syntax
if: startsWith(github.repository, 'Homebrew/') if: startsWith(github.repository, 'Homebrew/')
runs-on: macos-12 runs-on: macos-13
env: env:
HOMEBREW_NO_INSTALL_FROM_API: 1 HOMEBREW_NO_INSTALL_FROM_API: 1
steps: steps:
@ -258,8 +258,8 @@ jobs:
include: include:
- name: update-test (Ubuntu 22.04) - name: update-test (Ubuntu 22.04)
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
- name: update-test (macOS 12) - name: update-test (macOS 13)
runs-on: macos-12 runs-on: macos-13
steps: steps:
- name: Set up Homebrew - name: Set up Homebrew
id: set-up-homebrew id: set-up-homebrew
@ -300,9 +300,9 @@ jobs:
- name: tests (Ubuntu 20.04) - name: tests (Ubuntu 20.04)
test-flags: --coverage test-flags: --coverage
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
- name: tests (macOS 12) - name: tests (macOS 13)
test-flags: --coverage test-flags: --coverage
runs-on: macos-12 runs-on: macos-13
steps: steps:
- name: Set up Homebrew - name: Set up Homebrew
id: set-up-homebrew id: set-up-homebrew
@ -390,8 +390,8 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
- name: test default formula (Ubuntu 20.04) - name: test default formula (Ubuntu 20.04)
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
- name: test default formula (macOS 12) - name: test default formula (macOS 13)
runs-on: macos-12 runs-on: macos-13
steps: steps:
- name: Set up Homebrew - name: Set up Homebrew
id: set-up-homebrew id: set-up-homebrew

View File

@ -32,7 +32,7 @@ jobs:
contains(github.event.pull_request.title, '/Library/Homebrew') contains(github.event.pull_request.title, '/Library/Homebrew')
) )
) )
runs-on: macos-12 runs-on: macos-13
steps: steps:
- name: Set up Homebrew - name: Set up Homebrew
id: set-up-homebrew id: set-up-homebrew

View File

@ -70,7 +70,7 @@ module Homebrew
test-bot: test-bot:
strategy: strategy:
matrix: matrix:
os: [ubuntu-22.04, macos-12] os: [ubuntu-22.04, macos-13]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- name: Set up Homebrew - name: Set up Homebrew