cloudflare/pint
Publicmirrored from https://github.com/cloudflare/pintAvailable
.github/workflows/test.yml
33lines · modecode
| 1 | name: Test |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: |
| 6 | - main |
| 7 | pull_request: |
| 8 | branches: |
| 9 | - main |
| 10 | release: |
| 11 | types: |
| 12 | - published |
| 13 | |
| 14 | jobs: |
| 15 | test-go: |
| 16 | name: Test Go code |
| 17 | runs-on: ubuntu-latest |
| 18 | steps: |
| 19 | - name: Check out code |
| 20 | uses: actions/checkout@v2 |
| 21 | |
| 22 | - name: Set up Go |
| 23 | uses: actions/setup-go@v2 |
| 24 | with: |
| 25 | go-version: 1.17.2 |
| 26 | |
| 27 | - name: Test |
| 28 | run: make test |
| 29 | |
| 30 | - name: Report code coverage |
| 31 | uses: codecov/codecov-action@v2 |
| 32 | with: |
| 33 | files: ./.cover/coverage.out |