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