NET-1106:do not set .EndpointIP if it is an IPv6 only host #1460
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: Integration Test | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
workflow_dispatch: | |
jobs: | |
linux-headless: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.19 | |
- name: Build | |
run: | | |
env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build . | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.19 | |
- name: Run Go tests | |
run: | | |
go test ./... -v | |
staticcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.19 | |
- name: Run static checks | |
run: | | |
go install honnef.co/go/tools/cmd/staticcheck@latest | |
{ ~/go/bin/staticcheck ./... ; } |