name: CI on: [pull_request, push] jobs: test: name: Golang v${{ matrix.go }} (${{ matrix.os }}) runs-on: ${{ matrix.os }} strategy: matrix: go: ['1.13', '1.14', '1.15'] os: [macos-10.15, macos-11.0, ubuntu-18.04, ubuntu-20.04, windows-latest] steps: - uses: actions/checkout@v2 - uses: actions/setup-go@v1 with: go-version: ${{ matrix.go }} - run: go mod download shell: bash - run: go build "plugin/"*.go shell: bash