Matrix test across mac/win/linux

This commit is contained in:
John Barton 2020-11-11 11:24:40 +11:00
parent 5451d82b77
commit 573e9186b2
1 changed files with 3 additions and 2 deletions

View File

@ -4,11 +4,12 @@ on: [push]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
go: [ '1.15', '1.14' ] go: [ '1.15', '1.14' ]
name: Go ${{ matrix.go }} Tests os: [ ubuntu-latest, macOS-latest, windows-latest ]
name: ${{ matrix.os }} Go ${{ matrix.go }} Tests
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Setup go - name: Setup go