Skip to content

NET-1603: Manage DNS client changes #1724

NET-1603: Manage DNS client changes

NET-1603: Manage DNS client changes #1724

Workflow file for this run

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-file: 'go.mod'
- 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-file: 'go.mod'
- 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-file: 'go.mod'
- name: Run static checks
run: |
go install honnef.co/go/tools/cmd/staticcheck@latest
{ ~/go/bin/staticcheck ./... ; }