...

Text file src/github.com/PuerkitoBio/goquery/.github/workflows/test.yml

Documentation: github.com/PuerkitoBio/goquery/.github/workflows

     1name: test
     2on: [push, pull_request]
     3
     4env:
     5  GOPROXY: https://proxy.golang.org,direct
     6
     7jobs:
     8  test:
     9    strategy:
    10      matrix:
    11        go-version: [1.21.x, 1.22.x]
    12        os: [ubuntu-latest, macos-latest, windows-latest]
    13    runs-on: ${{ matrix.os }}
    14
    15    steps:
    16      - name: Install Go
    17        uses: actions/setup-go@v3
    18        with:
    19          go-version: ${{ matrix.go-version }}
    20
    21      - name: Checkout code
    22        uses: actions/checkout@v3
    23
    24      - name: Test
    25        run: go test ./... -v -cover

View as plain text