build: switch to Go 1.25

But Go 1.24 is still supported.
This commit is contained in:
Vincent Bernat
2025-08-14 07:36:55 +02:00
parent eeb93b948e
commit fe42529bbc
5 changed files with 5 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ inputs:
go-version:
description: Go version to install
required: false
default: "1.24"
default: "1.25"
outputs:
iana-cache-hit:
description: Was cache hit for IANA files?

View File

@@ -5,7 +5,7 @@ stages:
run tests:
stage: tests
image: golang:1.24-alpine
image: golang:1.25-alpine
cache:
- key:
files:

View File

@@ -20,6 +20,7 @@ identified with a specific icon:
- 🌱 *docker*: update Prometheus to 3.5.0
- 🌱 *docker*: update node-exporter to 1.9.1
- 🌱 *docker*: stop spawning demo exporters by default
- 🌱 *build*: build with Go 1.25
## 2.0.0-beta.4 - 2025-08-18

View File

@@ -5,7 +5,7 @@ COPY console/frontend console/frontend
COPY Makefile .
RUN make console/data/frontend
FROM --platform=$BUILDPLATFORM golang:1.24-alpine AS build-go
FROM --platform=$BUILDPLATFORM golang:1.25-alpine AS build-go
RUN apk add --no-cache make mailcap curl
WORKDIR /build
# Cache for modules

View File

@@ -15,7 +15,7 @@
};
l = builtins // pkgs.lib;
nodejs = pkgs.nodejs_20;
go = pkgs.go_1_24;
go = pkgs.go_1_25;
frontend = pkgs.buildNpmPackage.override { inherit nodejs; } {
name = "akvorado-frontend";
src = ./console/frontend;