| 1 | name: Go Modules |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [ master ] |
| 6 | pull_request: |
| 7 | branches: [ master ] |
| 8 | |
| 9 | jobs: |
| 10 | build: |
| 11 | runs-on: ubuntu-latest |
| 12 | steps: |
| 13 | - uses: actions/checkout@v4 |
| 14 | - name: Set up Go |
| 15 | uses: actions/setup-go@v2 |
| 16 | with: |
| 17 | go-version: 1.18 |
| 18 | |
| 19 | - name: Test |
| 20 | run: | |
| 21 | cd v5 |
| 22 | go get ./... |
| 23 | go test -v ./... |