github: Also run tests on Windows

This commit is contained in:
Bjørn Erik Pedersen 2021-07-27 13:32:42 +02:00
parent 02aebd9419
commit 3f42935ca9
No known key found for this signature in database
GPG Key ID: 330E6E2BD4859D8F
1 changed files with 6 additions and 3 deletions

View File

@ -7,16 +7,19 @@ on:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.16.x]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: ${{ matrix.go-version }}
- name: Build
run: go build -v ./...