Skip to content

Commit 70e1514

Browse files
committed
github actions: add macos to test matrix
- setup golang version from `go.mod`
1 parent 74271fb commit 70e1514

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/go.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ on:
33
push:
44
pull_request:
55
jobs:
6-
verify:
6+
verify: # <- name
77
strategy:
88
matrix:
9-
os: [windows-2019, ubuntu-latest]
9+
os: [macos-latest, ubuntu-latest, windows-2019]
1010
runs-on: ${{ matrix.os }}
1111
steps:
1212
- uses: actions/checkout@v4
1313
- uses: actions/setup-go@v5
14+
with:
15+
go-version-file: go.mod
1416
- uses: golangci/golangci-lint-action@v6
1517
- name: Unit Tests (Windows)
1618
if: runner.os == 'Windows'

0 commit comments

Comments
 (0)