...

Text file src/github.com/jackc/puddle/v2/.github/workflows/ci.yml

Documentation: github.com/jackc/puddle/v2/.github/workflows

     1name: CI
     2
     3on:
     4  push:
     5    branches: [ master, v1 ]
     6  pull_request:
     7    branches: [ master, v1 ]
     8
     9jobs:
    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 ./...

View as plain text