name: build-test
on:
  push:
  pull_request:

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-go@v2
        with:
          go-version: 1.13.x
      - uses: actions/checkout@v3
      - name: Build
        run: go build .
      - name: Test
        run: go test -v .
