Allow binding on address with arbitrary zone #56
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: Test | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
build: | |
strategy: | |
matrix: | |
go-version: ["1.21", "1.22"] | |
# TODO(mdlayher): tests are failing on macOS but almost all consumers of | |
# this package are Linux. Investigate. | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Run tests | |
run: go test -race -tags gofuzz ./... | |
- name: Build test binary | |
run: go test -c -race | |
- name: Run integration tests | |
run: sudo ./ndp.test -test.v -test.run TestConn |