on: [push, pull_request]
name: Build and Test
env:
  GO111MODULE: "off"
jobs:
  test:
    strategy:
      matrix:
        go-version: [1.18.x]
        os: [ubuntu-latest, macos-latest, windows-latest]
    runs-on: ${{ matrix.os }}
    steps:
    - uses: actions/setup-go@v3
      with:
        go-version: ${{ matrix.go-version }}
    - uses: actions/checkout@v3
    - run: |
        go build ./...
        go test -v ./...

Add a github action to build and test
Add a github action to build and test