...

Text file src/github.com/onsi/gomega/.github/workflows/test.yml

Documentation: github.com/onsi/gomega/.github/workflows

     1name: test
     2
     3on: [push, pull_request]
     4
     5jobs:
     6  mod:
     7    runs-on: ubuntu-latest
     8    name: Check modules
     9    steps:
    10    - uses: actions/setup-go@v5
    11      with:
    12        go-version: 'oldstable'
    13    - uses: actions/checkout@v4
    14    - run: go mod tidy && git diff --exit-code go.mod go.sum
    15  build:
    16    runs-on: ubuntu-latest
    17    strategy:
    18      matrix:
    19        version: [ 'oldstable', 'stable' ]
    20    name: Go ${{ matrix.version }}
    21    steps:
    22    - uses: actions/setup-go@v5
    23      with:
    24        go-version: ${{ matrix.version }}
    25    - uses: actions/checkout@v4
    26    - run: go vet ./...
    27    - run: go run github.com/onsi/ginkgo/v2/ginkgo -r --randomize-all --randomize-suites --race --trace --fail-on-pending --keep-going --label-filter="!network"

View as plain text