| 1 | name: windows |
| 2 | on: [push] |
| 3 | jobs: |
| 4 | |
| 5 | build: |
| 6 | name: build |
| 7 | runs-on: [ windows-latest ] |
| 8 | steps: |
| 9 | |
| 10 | - name: Set up Go |
| 11 | uses: actions/setup-go@v5 |
| 12 | with: |
| 13 | go-version: 1.18 |
| 14 | id: go |
| 15 | |
| 16 | - name: Check out code into the Go module directory |
| 17 | uses: actions/checkout@v4 |
| 18 | |
| 19 | - name: Get dependencies |
| 20 | run: go get -v -t -d ./... |
| 21 | |
| 22 | - name: Build |
| 23 | run: go build -v . |
| 24 | |
| 25 | - name: Test |
| 26 | run: go test ./... |