ci: run tests on all platforms

This commit is contained in:
Christian Muehlhaeuser 2022-06-03 04:58:10 +02:00
parent b566614c16
commit 4c9117df96
1 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,7 @@ jobs:
build:
strategy:
matrix:
go-version: [~1.13, ^1]
go-version: [~1.16, ^1]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
env:
@ -25,6 +25,9 @@ jobs:
- name: Build
run: go build -v ./...
- name: Test
run: go test ./...
- name: Build examples
run: go build -v ./...
working-directory: ./examples