Skip to content

Commit 8e18bb8

Browse files
author
arran
committed
Matrix testing
1 parent e898d00 commit 8e18bb8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/go.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,19 @@ on:
77
branches: 'master'
88

99
jobs:
10-
1110
build:
11+
strategy:
12+
matrix:
13+
go-version: [1.16.x]
14+
os: [ubuntu-latest, macos-latest, windows-latest]
1215
name: Build and test
13-
runs-on: ubuntu-latest
16+
runs-on: ${{ matrix.os }}
1417
steps:
1518

1619
- name: Set up Go 1.x
1720
uses: actions/setup-go@v2
1821
with:
19-
go-version: ^1.13
22+
go-version: ${{ matrix.go-version }}
2023
id: go
2124

2225
- name: Check out code into the Go module directory

0 commit comments

Comments
 (0)