mirror of https://github.com/panjf2000/ants.git
ci: replace macos-latest with macos-12 for go1.13 (#326)
This commit is contained in:
parent
0d650f5c1e
commit
b2374d5ae4
|
@ -55,8 +55,22 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go: [1.13, 1.21]
|
||||
go: [1.13, 1.22]
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
include:
|
||||
# TODO(panjf2000): There is an uncanny issue arising when downloading
|
||||
# go modules on macOS 13 for Go1.13. So we use macOS 12 for now,
|
||||
# but try to figure it out and use macOS once it's resolved.
|
||||
# https://github.com/panjf2000/ants/actions/runs/9546726268/job/26310385582
|
||||
- go: 1.13
|
||||
os: macos-12
|
||||
exclude:
|
||||
# Starting macOS 14 GitHub Actions runners are arm-based,
|
||||
# but Go didn't support arm64 until 1.16. Thus, we must
|
||||
# replace the macOS 14 runner with macOS 12 runner for Go 1.13.
|
||||
# Ref: https://github.com/actions/runner-images/issues/9741
|
||||
- go: 1.13
|
||||
os: macos-latest
|
||||
name: Go ${{ matrix.go }} @ ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os}}
|
||||
steps:
|
||||
|
|
Loading…
Reference in New Issue