name: Go
on: [push]
jobs:

  test:

    runs-on: ubuntu-latest

    steps:

    - uses: actions/setup-go@v2
      with:
        go-version: 1.19

    - uses: actions/checkout@v2

    - run: |
        go run github.com/ysmood/golangci-lint@latest
        go test -coverprofile=coverage.out
        go run github.com/ysmood/got/cmd/check-cov@latest
