name: Go Tests on: push: branches: [ main ] pull_request: branches: [ main ] jobs: unit-tests: name: SDK Unit Tests runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] go-version: ["1.20", "1.21", "1.22"] steps: - uses: actions/checkout@v2 - name: Set up Go uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} - name: Test run: go test -v ./...