...

Text file src/github.com/go-logr/stdr/.github/workflows/tests.yaml

Documentation: github.com/go-logr/stdr/.github/workflows

     1name: Run tests
     2
     3on: [ push, pull_request ]
     4
     5jobs:
     6  test:
     7    strategy:
     8      matrix:
     9        go-versions: [ 1.14.x, 1.15.x, 1.16.x ]
    10        platform: [ ubuntu-latest, macos-latest, windows-latest ]
    11    runs-on: ${{ matrix.platform }}
    12    steps:
    13    - name: Install Go
    14      uses: actions/setup-go@v2
    15      with:
    16        go-version: ${{ matrix.go-version }}
    17    - name: Checkout code
    18      uses: actions/checkout@v2
    19    - name: Build
    20      run: go build -v ./...
    21    - name: Test
    22      run: go test -v -race ./...

View as plain text