| 1 | # This workflow will test a golang project |
| 2 | # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go |
| 3 | |
| 4 | name: Go |
| 5 | |
| 6 | on: |
| 7 | push: |
| 8 | branches: ["master"] |
| 9 | pull_request: |
| 10 | branches: ["master"] |
| 11 | |
| 12 | jobs: |
| 13 | build: |
| 14 | runs-on: ubuntu-latest |
| 15 | steps: |
| 16 | - uses: actions/checkout@v4 |
| 17 | |
| 18 | - name: Set up Go |
| 19 | uses: actions/setup-go@v4 |
| 20 | with: |
| 21 | go-version: "1.23" |
| 22 | |
| 23 | - name: Test |
| 24 | run: go test -v -cover ./... |