From 5cffa90774c2b8b5b2be1f806b667779caa8f839 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Sat, 2 Nov 2024 13:08:12 +0300 Subject: [PATCH] workflows: remove macos-12 support Support for macos-12 will be deprecated 10/7/24 and the image will be fully unsupported by 12/3/24. Ref. https://github.com/actions/runner-images/issues/10721. Get rid of the build warning: ``` A brownout will take place on November 4, 14:00 UTC - November 5, 00:00 UTC to raise awareness of the upcoming macOS-12 environment removal. ``` Signed-off-by: Anna Shaleva --- .github/workflows/build.yml | 2 +- .github/workflows/tests.yml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0d8cf6caee..1fb4842c95 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: runs-on: ${{matrix.os.name}} strategy: matrix: - os: [{ name: ubuntu-22.04, bin-name: linux }, { name: windows-2022, bin-name: windows }, { name: macos-12, bin-name: darwin }] + os: [{ name: ubuntu-22.04, bin-name: linux }, { name: windows-2022, bin-name: windows }, { name: macos-14, bin-name: darwin }] arch: [amd64, arm64] exclude: - os: { name: windows-2022, bin-name: windows } diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3d33da4878..5b7f950a05 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -168,14 +168,12 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-22.04, windows-2022, macos-12, macos-14] + os: [ubuntu-22.04, windows-2022, macos-14] go_versions: [ '1.22', '1.23' ] exclude: # Only latest Go version for Windows and MacOS. - os: windows-2022 go_versions: '1.22' - - os: macos-12 - go_versions: '1.22' - os: macos-14 go_versions: '1.22' # Exclude latest Go version for Ubuntu as Coverage uses it.