From f18bebdddbb04372169a617ebdd865974125c196 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Mon, 29 Apr 2024 20:26:17 +0100 Subject: [PATCH] Pin GHA MacOS jobs to MacOS 12 (#12658) Co-authored-by: Pradyun Gedam --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57273ff45bd..207dc9b717c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,7 +97,7 @@ jobs: tests-unix: name: tests / ${{ matrix.python.key || matrix.python }} / ${{ matrix.os }} - runs-on: ${{ matrix.os }}-latest + runs-on: ${{ matrix.os }} needs: [packaging, determine-changes] if: >- @@ -107,7 +107,7 @@ jobs: strategy: fail-fast: true matrix: - os: [Ubuntu, MacOS] + os: [ubuntu-latest, macos-12] python: - "3.8" - "3.9" @@ -123,13 +123,13 @@ jobs: allow-prereleases: true - name: Install Ubuntu dependencies - if: matrix.os == 'Ubuntu' + if: matrix.os == 'ubuntu-latest' run: | sudo apt-get update sudo apt-get install bzr - name: Install MacOS dependencies - if: matrix.os == 'MacOS' + if: matrix.os == 'macos-12' run: brew install breezy - run: pip install nox