1name: Go Tests 2 3on: 4 push: 5 branches: [ main ] 6 pull_request: 7 branches: [ main ] 8 9jobs: 10 unit-tests: 11 name: SDK Unit Tests 12 runs-on: ${{ matrix.os }} 13 strategy: 14 matrix: 15 os: [ubuntu-latest, macos-latest, windows-latest] 16 go-version: ["1.20", "1.21", "1.22"] 17 steps: 18 - uses: actions/checkout@v2 19 20 - name: Set up Go 21 uses: actions/setup-go@v2 22 with: 23 go-version: ${{ matrix.go-version }} 24 25 - name: Test 26 run: go test -v ./...