diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 663eced..8d02004 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,7 +3,7 @@ name: CI on: [push] env: - DNS_HOST: docker + DNS_HOST: dind # SKIP_LDAP: true # SKIP_MAIL: true # SKIP_ORACLE: true @@ -12,7 +12,7 @@ jobs: test: runs-on: ubuntu-latest services: - docker: + dind: image: docker:dind-rootless - 2375:2375 steps: @@ -28,7 +28,7 @@ jobs: go mod vendor - name: Test env: - # github copies the files with api, not as clone, check fails + # GitHub copies the files with api, not as clone, check fails # https://github.com/actions/checkout/issues/335 SKIP_COMMIT: true run: go test -v ./... -coverprofile=coverage.txt -covermode=atomic diff --git a/netlib/dns_docker_test.go b/netlib/dns_docker_test.go index 6f6da36..52b59b5 100644 --- a/netlib/dns_docker_test.go +++ b/netlib/dns_docker_test.go @@ -153,7 +153,7 @@ func prepareNetlibDNSContainer() (container *dockertest.Resource, err error) { dns := NewResolver(netlibDNSServer, netlibDNSPort, true) ips, e := dns.Resolver.LookupHost(context.Background(), netlibTestAddr) if e != nil || len(ips) == 0 { - err = fmt.Errorf("Could not resolve DNS for %s on %s:%d: %v", netlibTestAddr, netlibDNSServer, netlibDNSPort, e) + err = fmt.Errorf("could not resolve DNS for %s on %s:%d: %v", netlibTestAddr, netlibDNSServer, netlibDNSPort, e) destroyDNSContainer(container) return }