fix: websocket conns do not require Connection: upgrade
header (#161)
#234
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] # pushes TO main | |
pull_request: | |
branches: [main] # pull requests AGAINST main | |
# cancel CI runs when a new commit is pushed to any branch except main | |
concurrency: | |
group: "lint-${{ github.ref }}" | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
golangci: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.21' | |
- uses: golangci/[email protected] | |
with: | |
version: v1.55.2 |