.github/workflows/test.yml
raw| 1 | --- |
| 2 | name: Test |
| 3 | |
| 4 | "on": |
| 5 | - pull_request |
| 6 | |
| 7 | jobs: |
| 8 | test: |
| 9 | strategy: |
| 10 | matrix: |
| 11 | go: |
| 12 | - "1.23" |
| 13 | - "1.24" |
| 14 | |
| 15 | runs-on: ubuntu-latest |
| 16 | |
| 17 | steps: |
| 18 | - uses: actions/checkout@v2 |
| 19 | |
| 20 | - name: Setup Go ${{ matrix.go }} |
| 21 | uses: actions/setup-go@v2 |
| 22 | with: |
| 23 | go-version: ${{ matrix.go }} |
| 24 | |
| 25 | - name: Download Dependencies |
| 26 | run: go mod download |
| 27 | |
| 28 | - name: Run Tests |
| 29 | run: make test |