From 2b4a239d7cedacfe140fed80c8234bf55103dab6 Mon Sep 17 00:00:00 2001 From: Maciej Urbanski Date: Tue, 23 Apr 2024 10:23:25 +0200 Subject: [PATCH 1/2] fix GHA CI by using old macos for old python versions --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e82d3d06..bb98c7fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,6 +87,21 @@ jobs: python-version: "pypy3.10" - os: "windows-latest" python-version: "pypy3.10" + # Workaround for https://github.com/actions/setup-python/issues/696 + - os: "macos-latest" + python-version: 3.7 + - os: "macos-latest" + python-version: 3.8 + - os: "macos-latest" + python-version: 3.9 + include: + # Workaround for https://github.com/actions/setup-python/issues/696 + - os: "macos-12" + python-version: 3.7 + - os: "macos-12" + python-version: 3.8 + - os: "macos-12" + python-version: 3.9 steps: - uses: actions/checkout@v4 with: From d95eb416ded9e58f8af8bc9632ba22d461f59a35 Mon Sep 17 00:00:00 2001 From: Maciej Urbanski Date: Tue, 23 Apr 2024 16:33:09 +0200 Subject: [PATCH 2/2] use macos-13 over macos-12 in GHA (longer support, +1 cpu core) --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb98c7fe..63844271 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,11 +96,11 @@ jobs: python-version: 3.9 include: # Workaround for https://github.com/actions/setup-python/issues/696 - - os: "macos-12" + - os: "macos-13" python-version: 3.7 - - os: "macos-12" + - os: "macos-13" python-version: 3.8 - - os: "macos-12" + - os: "macos-13" python-version: 3.9 steps: - uses: actions/checkout@v4