Skip to content

Update latest golang and mod #42

Update latest golang and mod

Update latest golang and mod #42

Workflow file for this run

name: Go build and test
on: [push, pull_request]
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.23
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Build
run: go build -v .
- name: Go test
run: go test ./...
- name: Install bats
run: sudo apt install bats
- name: Run IPv4/v6/v4v6 tests
run: |
export TERM=dumb
bats tests/acceptanceIPv4.bats
bats tests/acceptanceIPv6.bats
bats tests/acceptanceIPv4v6.bats