.github/workflows/test.yml
raw| 1 | name: Test |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: |
| 6 | - '*' |
| 7 | tags-ignore: |
| 8 | - 'v*' |
| 9 | pull_request: |
| 10 | branches: |
| 11 | - '*' |
| 12 | |
| 13 | jobs: |
| 14 | test: |
| 15 | name: Run unit tests |
| 16 | strategy: |
| 17 | matrix: |
| 18 | go-version: [ 1.15.x ] |
| 19 | os: [ ubuntu-latest ] |
| 20 | runs-on: ${{ matrix.os }} |
| 21 | |
| 22 | steps: |
| 23 | - name: Install Go |
| 24 | uses: actions/setup-go@v3 |
| 25 | with: |
| 26 | go-version: ${{ matrix.go-version }} |
| 27 | |
| 28 | - name: Checkout code |
| 29 | uses: actions/checkout@v3 |
| 30 | |
| 31 | - name: Test |
| 32 | run: make test |