Skip to content

Commit 378db26

Browse files
committed
.github: run sanity checks on Windows, too.
Signed-off-by: Krisztian Litkey <[email protected]>
1 parent 68f63a7 commit 378db26

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/sanity.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ jobs:
88
build:
99
name: "Run go sanity tools"
1010
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
include:
15+
- goos: linux
16+
goarch: amd64
17+
- goos: windows
18+
goarch: amd64
1119
steps:
1220
- uses: actions/checkout@v2
1321
- uses: actions/setup-go@v2
@@ -21,13 +29,22 @@ jobs:
2129
run: make fmt
2230
- name: Vet
2331
run: make vet
32+
33+
test:
34+
name: "Run tests"
35+
runs-on: ubuntu-latest
36+
steps:
37+
- uses: actions/checkout@v2
38+
- uses: actions/setup-go@v2
39+
with:
40+
go-version: ${{ env.GO_VERSION }}
2441
- name: Test
2542
run: make test
2643

2744

2845
# Make sure binaries compile on multiple platforms.
2946
crossbuild:
30-
name: Build/Crossbuild Binaries
47+
name: "Build / Crossbuild Binaries"
3148
runs-on: ubuntu-20.04
3249
strategy:
3350
fail-fast: false
@@ -37,7 +54,6 @@ jobs:
3754
goarch: amd64
3855
- goos: windows
3956
goarch: amd64
40-
4157
steps:
4258
- uses: actions/checkout@v2
4359
- uses: actions/setup-go@v2

0 commit comments

Comments
 (0)