Enable SO_REUSEPORT #733
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
on: [push, pull_request] | |
name: tests | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.20.x] | |
platform: [ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Check format (gofmt) | |
run: .github/check-gofmt.sh | |
- name: Test | |
run: make test-coverage | |
# Upload Coverage Report | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
file: ./coverage.txt | |
flags: unittests | |
name: codecov-${{ matrix.platform }}-${{ matrix.go-version }} | |
fail_ci_if_error: true | |
- name: Build commands and examples | |
run: make build |