Increase read buffer size to capture the full possible size of a header. #349
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: test | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| go: ['1.23', '1.24'] | |
| steps: | |
| - uses: actions/setup-go@v4 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - uses: actions/checkout@v4 | |
| - name: Get dependencies | |
| run: | | |
| go get golang.org/x/tools/cmd/cover | |
| go get github.com/mattn/goveralls | |
| - name: Test | |
| run: go test -race -v -covermode=atomic -coverprofile=coverage.out | |
| - name: Send coverage | |
| uses: shogo82148/actions-goveralls@v1 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| path-to-profile: coverage.out | |
| flag-name: Go-${{ matrix.go }} | |
| parallel: true | |
| # notifies that all test jobs are finished. | |
| finish: | |
| needs: test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: shogo82148/actions-goveralls@v1 | |
| with: | |
| parallel-finished: true |