github.com/la5nta/wl2k-go@v0.11.8/.github/workflows/go.yaml (about)

     1  name: build
     2  on: [push, pull_request]
     3  jobs:
     4    build:
     5      strategy:
     6        matrix:
     7          os: [ubuntu-latest, macos-latest, windows-latest]
     8          go-version: [ '1.x' ]
     9          include:
    10            - os: ubuntu-latest
    11              go-version: '1.19'
    12      runs-on: ${{ matrix.os }}
    13      steps:
    14        - uses: actions/checkout@v3
    15        - name: Setup Go ${{ matrix.go-version }}
    16          uses: actions/setup-go@v3
    17          with:
    18            go-version: ${{ matrix.go-version }}
    19            check-latest: true
    20            cache: true
    21        - name: Display Go version
    22          run: go version
    23        - name: Test
    24          run: go test -v ./...