Fix TCP RST data loss when closing a connection with in-flight PING frames #76
Workflow file for this run
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: CI | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: [push, pull_request] | |
| env: | |
| GOTOOLCHAIN: local | |
| jobs: | |
| test: | |
| name: Unit test | |
| timeout-minutes: 10 | |
| strategy: | |
| matrix: | |
| go-version: [1.13.x, oldstable, stable] | |
| platform: [ubuntu-latest] | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Validate headers | |
| if: startsWith(matrix.go-version, '1.13') == false | |
| run: | | |
| go install github.com/containerd/ltag@latest \ | |
| && ./scripts/validate/fileheader | |
| - name: Test | |
| run: go test -race -v ./... |