Skip to content

Commit 4ccb6f2

Browse files
authored
[chore] Update macOS runners (#5577)
Per https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories Now `macos-latest` runs on M1 (ARM). Update the GitHub workflows and docs accordingly and make sure to test on both ARM and AMD64.
1 parent d5c3319 commit 4ccb6f2

File tree

2 files changed

+19
-15
lines changed

2 files changed

+19
-15
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,10 @@ jobs:
124124
arch: "386"
125125
- os: ubuntu-latest
126126
arch: amd64
127-
- os: macos-latest
127+
- os: macos-13
128128
arch: amd64
129+
- os: macos-latest
130+
arch: arm64
129131
- os: windows-latest
130132
arch: "386"
131133
- os: windows-latest

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,22 @@ stop ensuring compatibility with these versions in the following manner:
4747

4848
Currently, this project supports the following environments.
4949

50-
| OS | Go Version | Architecture |
51-
|---------|------------|--------------|
52-
| Ubuntu | 1.22 | amd64 |
53-
| Ubuntu | 1.21 | amd64 |
54-
| Ubuntu | 1.22 | 386 |
55-
| Ubuntu | 1.21 | 386 |
56-
| Linux | 1.22 | arm64 |
57-
| Linux | 1.21 | arm64 |
58-
| MacOS | 1.22 | amd64 |
59-
| MacOS | 1.21 | amd64 |
60-
| Windows | 1.22 | amd64 |
61-
| Windows | 1.21 | amd64 |
62-
| Windows | 1.22 | 386 |
63-
| Windows | 1.21 | 386 |
50+
| OS | Go Version | Architecture |
51+
|----------|------------|--------------|
52+
| Ubuntu | 1.22 | amd64 |
53+
| Ubuntu | 1.21 | amd64 |
54+
| Ubuntu | 1.22 | 386 |
55+
| Ubuntu | 1.21 | 386 |
56+
| Linux | 1.22 | arm64 |
57+
| Linux | 1.21 | arm64 |
58+
| macOS 13 | 1.22 | amd64 |
59+
| macOS 13 | 1.21 | amd64 |
60+
| macOS | 1.22 | arm64 |
61+
| macOS | 1.21 | arm64 |
62+
| Windows | 1.22 | amd64 |
63+
| Windows | 1.21 | amd64 |
64+
| Windows | 1.22 | 386 |
65+
| Windows | 1.21 | 386 |
6466

6567
While this project should work for other systems, no compatibility guarantees
6668
are made for those systems currently.

0 commit comments

Comments
 (0)