Skip to content

Commit 36ec1a9

Browse files
committed
Try many platforms
1 parent 336a0fb commit 36ec1a9

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

.github/workflows/go.yml

+17-6
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,23 @@ on:
1212

1313
jobs:
1414
build:
15-
runs-on: ubuntu-latest
16-
# name: Build and test on ${{ matrix.os }} ${{ matrix.arch }}
17-
# strategy:
18-
# matrix:
19-
# os: [darwin, linux]
20-
# arch: [amd64, arm64]
15+
name: Tests on ${{ matrix.os }} ${{ matrix.arch }} with Go ${{ matrix.go-version }}
16+
strategy:
17+
matrix:
18+
os: [darwin, linux]
19+
arch: [amd64]
20+
go-version:
21+
# Check the earliest and two trailing versions, to keep
22+
# maintainance of this file reasonable.
23+
- 1.19
24+
- oldstable
25+
- stable
26+
include:
27+
- os: linux
28+
platform: ubuntu-latest
29+
- os: darwin
30+
platform: macos-latest
31+
runs-on: ${{ matrix.platform }}
2132
steps:
2233
- uses: actions/checkout@v4
2334

0 commit comments

Comments
 (0)