...

Text file src/github.com/stretchr/testify/.github/workflows/main.yml

Documentation: github.com/stretchr/testify/.github/workflows

     1name: All builds
     2on: [push, pull_request]
     3
     4jobs:
     5  build:
     6    runs-on: ubuntu-latest
     7    strategy:
     8      matrix:
     9        go_version:
    10          - stable
    11          - oldstable
    12    steps:
    13      - uses: actions/checkout@v4
    14      - name: Setup Go
    15        uses: actions/setup-go@v5
    16        with:
    17          go-version: ${{ matrix.go_version }}
    18      - run: ./.ci.gogenerate.sh
    19      - run: ./.ci.gofmt.sh
    20      - run: ./.ci.govet.sh
    21      - run: go test -v -race ./...
    22  test:
    23    runs-on: ubuntu-latest
    24    strategy:
    25      matrix:
    26        go_version:
    27          - "1.17"
    28          - "1.18"
    29          - "1.19"
    30          - "1.20"
    31          - "1.21"
    32    steps:
    33      - uses: actions/checkout@v4
    34      - name: Setup Go
    35        uses: actions/setup-go@v5
    36        with:
    37          go-version: ${{ matrix.go_version }}
    38      - run: go test -v -race ./...

View as plain text