diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index ce0ad4a..c7be3c5 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -7,16 +7,19 @@ on: branches: [ master ] jobs: - build: - runs-on: ubuntu-latest + strategy: + matrix: + go-version: [1.16.x] + os: [ubuntu-latest, windows-latest] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: ${{ matrix.go-version }} - name: Build run: go build -v ./...