| 1 | on: [push, pull_request] |
| 2 | name: Test Windows |
| 3 | jobs: |
| 4 | test: |
| 5 | strategy: |
| 6 | matrix: |
| 7 | go-version: ["1.14", "1.x"] |
| 8 | os: [windows-latest] |
| 9 | runs-on: ${{ matrix.os }} |
| 10 | env: |
| 11 | CGO_ENABLED: 1 |
| 12 | steps: |
| 13 | - name: Install Go |
| 14 | uses: actions/setup-go@v2 |
| 15 | with: |
| 16 | go-version: ${{ matrix.go-version }} |
| 17 | - name: Checkout code |
| 18 | uses: actions/checkout@v2 |
| 19 | - name: Test |
| 20 | run: | |
| 21 | go test -v ./... |