...

Text file src/github.com/golang/protobuf/.github/workflows/test.yml

Documentation: github.com/golang/protobuf/.github/workflows

     1on: [push, pull_request]
     2name: Test
     3jobs:
     4  test:
     5    strategy:
     6      matrix:
     7        go-version: [1.17.x, 1.18.x, 1.19.x, 1.20.x, 1.21.x, 1.22.x]
     8        os: [ubuntu-latest, macos-latest]
     9    runs-on: ${{ matrix.os }}
    10    steps:
    11    - name: Install Go
    12      uses: actions/setup-go@v2
    13      with:
    14        go-version: ${{ matrix.go-version }}
    15    - name: Checkout code
    16      uses: actions/checkout@v2
    17    - name: TestLatest
    18      if: matrix.go-version == '1.21.x'
    19      run: ./test.bash
    20    - name: TestAll
    21      if: matrix.go-version != '1.21.x'
    22      run: go test ./...

View as plain text