Skip to content

[udp] make response message cache configurable #817

[udp] make response message cache configurable

[udp] make response message cache configurable #817

Workflow file for this run

# Workflow to run tests for PRs from forked repository
name: Test for forked repository
# Run on pull requests events from forked repository
on: [pull_request]
jobs:
test-for-fork:
# Run only for forked repository
if: github.event.pull_request.head.repo.full_name != github.repository
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Set up Go 1.20+
uses: actions/setup-go@v5
with:
go-version: "^1.20"
check-latest: true
- run: go version
# Checks-out repository under $GITHUB_WORKSPACE
- name: Checkout
uses: actions/checkout@v4
# Build everything
- name: Run a build
run: go build ./...
# Runs a single command using the runners shell, -p1 for `race: limit on 8128 simultaneously alive goroutines is exceeded, dying` at macos
- name: Run a test
run: go test -v -race ./... -coverpkg=./... -covermode=atomic -coverprofile=./coverage.txt