From 70f8141abd466898d72e2713db41c58a43fc0a73 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Mon, 16 Feb 2026 14:16:52 +0000 Subject: [PATCH] all: upgrade from Go 1.26rc2 to Go 1.26.0 --- Dockerfile.derper | 2 +- Dockerfile.integration | 2 +- Dockerfile.tailscale-HEAD | 2 +- cmd/hi/run.go | 4 ++-- go.mod | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile.derper b/Dockerfile.derper index 85376299..63d2c3ca 100644 --- a/Dockerfile.derper +++ b/Dockerfile.derper @@ -1,6 +1,6 @@ # For testing purposes only -FROM golang:1.26rc2-alpine AS build-env +FROM golang:1.26.0-alpine AS build-env WORKDIR /go/src diff --git a/Dockerfile.integration b/Dockerfile.integration index b810aa0a..a347272d 100644 --- a/Dockerfile.integration +++ b/Dockerfile.integration @@ -2,7 +2,7 @@ # and are in no way endorsed by Headscale's maintainers as an # official nor supported release or distribution. -FROM docker.io/golang:1.26rc2-trixie AS builder +FROM docker.io/golang:1.26.0-trixie AS builder ARG VERSION=dev ENV GOPATH /go WORKDIR /go/src/headscale diff --git a/Dockerfile.tailscale-HEAD b/Dockerfile.tailscale-HEAD index 90816f5b..3a16cb1b 100644 --- a/Dockerfile.tailscale-HEAD +++ b/Dockerfile.tailscale-HEAD @@ -4,7 +4,7 @@ # This Dockerfile is more or less lifted from tailscale/tailscale # to ensure a similar build process when testing the HEAD of tailscale. -FROM golang:1.26rc2-alpine AS build-env +FROM golang:1.26.0-alpine AS build-env WORKDIR /go/src diff --git a/cmd/hi/run.go b/cmd/hi/run.go index f21adb91..3a3b74ee 100644 --- a/cmd/hi/run.go +++ b/cmd/hi/run.go @@ -76,7 +76,7 @@ func detectGoVersion() string { content, err := os.ReadFile(goModPath) if err != nil { - return "1.26rc2" + return "1.26.0" } lines := splitLines(string(content)) @@ -91,7 +91,7 @@ func detectGoVersion() string { } } - return "1.26rc2" + return "1.26.0" } // splitLines splits a string into lines without using strings.Split. diff --git a/go.mod b/go.mod index f42c7dca..c99d4ddd 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/juanfont/headscale -go 1.26rc2 +go 1.26.0 require ( github.com/arl/statsviz v0.8.0