github.com/emcfarlane/larking@v0.0.0-20220605172417-1704b45ee6c3/.github/workflows/test.yml (about)

     1  name: Test
     2  on:
     3    push:
     4      tags:
     5        - v*
     6      branches:
     7        - master
     8        - main
     9    pull_request:
    10  jobs:
    11    test:
    12      strategy:
    13        matrix:
    14          go-version: [1.18.x]
    15          os: [ubuntu-latest] #, macos-latest, windows-latest]
    16      runs-on: ${{ matrix.os }}
    17      steps:
    18      - name: Install Go
    19        uses: actions/setup-go@v2
    20        with:
    21          go-version: ${{ matrix.go-version }}
    22      - name: Checkout code
    23        uses: actions/checkout@v2
    24      - name: Test
    25        run: go test -v .