Merge pull request #1703 from MaxRink/fix/makefile-go-version

fix: align GO_VERSION with go.mod toolchain requirement
This commit is contained in:
Daniel Finneran
2026-09-01 10:56:39 +03:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ TARGETOS=linux
LDFLAGS=-ldflags "-s -w -X=main.Version=$(VERSION) -X=main.Build=$(BUILD) -extldflags -static"
DOCKERTAG ?= $(VERSION)
REPOSITORY ?= docker.io/plndr
GO_VERSION := 1.25.6
GO_VERSION := 1.26.6
K8S_VERSION ?= v1.35.0
GINKGO_ARGS ?=
GINKGO_PROCS ?=
@@ -136,7 +136,7 @@ unit-tests:
go test -race ./...
unit-tests-docker:
docker run --rm -w /kube-vip -v $$(pwd):/kube-vip -v kube-vip-gomod-cache:/go/pkg/mod -v kube-vip-gobuild-cache:/root/.cache/go-build golang:$(GO_VERSION) make unit-tests
docker run --rm -w /kube-vip -v $$(pwd):/kube-vip -v kube-vip-gomod-cache:/go/pkg/mod -v kube-vip-gobuild-cache:/root/.cache/go-build golang:$(GO_VERSION) sh -c "make unit-tests; status=$$?; chmod 666 coverage.out 2>/dev/null || true; exit $$status"
integration-tests:
go test -tags=integration,e2e -v ./pkg/etcd

View File

@@ -6,7 +6,7 @@ import (
v1 "k8s.io/api/core/v1"
)
func TestWireguardDeleteDoesNotDereferenceNilServiceContext(t *testing.T) {
func TestWireguardClearDoesNotDereferenceNilServiceContext(t *testing.T) {
worker := &wireguardWorker{}
service := &v1.Service{}