github.com/jackc/puddle/v2@v2.2.2-0.20240301145809-72b022bcfc59/.github/workflows/ci.yml (about) 1 name: CI 2 3 on: 4 push: 5 branches: [ master, v1 ] 6 pull_request: 7 branches: [ master, v1 ] 8 9 jobs: 10 11 test: 12 name: Test 13 runs-on: ubuntu-22.04 14 15 strategy: 16 matrix: 17 go-version: ["1.19", "1.20"] 18 19 steps: 20 21 - name: Set up Go 1.x 22 uses: actions/setup-go@v2 23 with: 24 go-version: ${{ matrix.go-version }} 25 26 - name: Check out code into the Go module directory 27 uses: actions/checkout@v2 28 29 - name: Test 30 run: go test -v -race ./...