github.com/undefinedlabs/go-mpatch@v1.0.8-0.20230904093002-fbac8a0d7853/.github/workflows/go.yml (about) 1 name: Go 2 on: [push] 3 jobs: 4 test: 5 name: Test 6 strategy: 7 matrix: 8 go_version: [1.7, 1.8, 1.9, "1.10", 1.11, 1.12, 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19, "1.20", "1.21"] 9 os: [ubuntu-latest, windows-latest, macos-11] 10 runs-on: ${{ matrix.os }} 11 steps: 12 - name: Set up Go ${{ matrix.go_version }} 13 uses: actions/setup-go@v3 14 with: 15 go-version: ${{ matrix.go_version }} 16 id: go 17 18 - name: Check out code into the Go module directory 19 uses: actions/checkout@v1 20 21 - name: Get dependencies 22 run: go get -v -t -d ./... 23 24 - name: Test 25 run: go test -v --race ./...