Merge pull request #3657 from nspcc-dev/drop-macos-12

workflows: remove macos-12 support
This commit is contained in:
Roman Khimov 2024-11-02 13:30:21 +03:00 committed by GitHub
commit 95098d4b25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View file

@ -37,7 +37,7 @@ jobs:
runs-on: ${{matrix.os.name}} runs-on: ${{matrix.os.name}}
strategy: strategy:
matrix: 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] arch: [amd64, arm64]
exclude: exclude:
- os: { name: windows-2022, bin-name: windows } - os: { name: windows-2022, bin-name: windows }

View file

@ -168,14 +168,12 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: 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' ] go_versions: [ '1.22', '1.23' ]
exclude: exclude:
# Only latest Go version for Windows and MacOS. # Only latest Go version for Windows and MacOS.
- os: windows-2022 - os: windows-2022
go_versions: '1.22' go_versions: '1.22'
- os: macos-12
go_versions: '1.22'
- os: macos-14 - os: macos-14
go_versions: '1.22' go_versions: '1.22'
# Exclude latest Go version for Ubuntu as Coverage uses it. # Exclude latest Go version for Ubuntu as Coverage uses it.