Skip to content

Commit

Permalink
ci: use macos-12
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Jun 17, 2024
1 parent 0c38f85 commit afa5d0c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,17 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- go: 1.13
os: macos-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 13 runner for Go 1.13.
# replace the macOS 14 runner with macOS 12 runner for Go 1.13.
# Ref: https://github.com/actions/runner-images/issues/9741
#
# 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-latest
name: Go ${{ matrix.go }} @ ${{ matrix.os }}
Expand Down

0 comments on commit afa5d0c

Please sign in to comment.