We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9f3cc commit d4c3414Copy full SHA for d4c3414
.github/workflows/build.yml
@@ -34,22 +34,22 @@ jobs:
34
- name: Test
35
run: go test -v
36
build-darwin:
37
- runs-on: macos-latest
+ strategy:
38
+ matrix:
39
+ config:
40
+ - {os: macos-latest, arch: arm64}
41
+ - {os: macos-13, arch: amd64}
42
+ runs-on: ${{ matrix.config.os }}
43
steps:
44
- name: Checkout
45
uses: actions/checkout@v4
46
- name: Setup
47
uses: actions/setup-go@v4
48
with:
49
go-version: 1.21
- - name: Test arm64
- run: |
- export GOARCH=arm64
- export GOOS=darwin
- go test -v
50
- - name: Test amd64
+ - name: Test
51
run: |
52
- export GOARCH=amd64
+ export GOARCH=${{ matrix.config.arch }}
53
export GOOS=darwin
54
go test -v
55
release:
0 commit comments