name: build on: [push, pull_request] jobs: build: strategy: matrix: go-version: [1.14.x, 1.15.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} id: go - name: Build run: go build -v - name: Test run: go test -v ./...