on: [push, pull_request] name: Tests jobs: test: strategy: matrix: go-version: [1.19.x] # Disabled: windows-latest os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - name: Install Go uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} - name: Checkout code uses: actions/checkout@v2 - name: Run tests run: | go test ./... -v