fix various race conditions when writing packets to closed clients or server sessions #2290
Workflow file for this run
This file contains 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: lint | |
on: | |
push: | |
branches: [ main, v4 ] | |
pull_request: | |
branches: [ main, v4 ] | |
jobs: | |
golangci-lint: | |
runs-on: ubuntu-22.04 | |
env: | |
CGO_ENABLED: '0' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "1.23" | |
- uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.61.0 | |
go-mod-tidy: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "1.23" | |
- run: | | |
go mod tidy | |
git diff --exit-code |