From 86d34540698ee4228eb9803fbecd62a1b8ae5698 Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar Date: Mon, 18 May 2026 23:09:14 +0200 Subject: [PATCH] =?UTF-8?q?ci(tenant-registry):=20downgrade=20go=20directi?= =?UTF-8?q?ve=201.25=20=E2=86=92=201.24?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The runner's golangci-lint binary is built with Go 1.24 and refuses to lint modules targeting a higher Go version ('the Go language version (go1.24) used to build golangci-lint is lower than the targeted Go version (1.25)'). 1.24 is current stable and covers everything the skeleton uses (slog, ServeMux method routing). Dockerfile pinned to golang:1.24-alpine to match. Refs: M4.1 --- Dockerfile | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ee2e39a..6fbaec1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Multi-stage build for tenant-registry. -FROM golang:1.25-alpine AS build +FROM golang:1.24-alpine AS build WORKDIR /src COPY go.mod ./ RUN go mod download diff --git a/go.mod b/go.mod index 3caa84b..869d5c4 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module gitea.meghsakha.com/platform/tenant-registry -go 1.25 +go 1.24