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