...

Text file src/github.com/moby/spdystream/.github/workflows/ci.yaml

Documentation: github.com/moby/spdystream/.github/workflows

     1name: Continuous Integration
     2
     3on:
     4  push:
     5    branches:
     6      - master
     7  pull_request:
     8
     9jobs:
    10  test:
    11    name: Unit test
    12    timeout-minutes: 10
    13    strategy:
    14      matrix:
    15        go-version: [1.13.x, 1.14.x, 1.15.x]
    16        platform: [ubuntu-latest]
    17    runs-on: ${{ matrix.platform }}
    18    steps:
    19    - name: Install Go
    20      uses: actions/setup-go@v2
    21      with:
    22        go-version: ${{ matrix.go-version }}
    23    - name: Checkout code
    24      uses: actions/checkout@v2
    25    - name: Validate headers
    26      run: |
    27        pushd $(mktemp -d) \
    28        && go get -u github.com/kunalkushwaha/ltag \
    29        && popd \
    30        && ./scripts/validate/fileheader
    31    - name: Test
    32      run: go test -v ./...

View as plain text