FEAUTRE (go): Upgrade Go version to 1.26.1

This commit is contained in:
Rostislav Dugin
2026-03-13 17:37:39 +03:00
parent f2cb9022f2
commit f60e3d956b
4 changed files with 8 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ jobs:
lint-backend:
runs-on: self-hosted
container:
image: golang:1.24.9
image: golang:1.26.1
volumes:
- /runner-cache/go-pkg:/go/pkg/mod
- /runner-cache/go-build:/root/.cache/go-build
@@ -95,7 +95,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.24.9"
go-version: "1.26.1"
cache-dependency-path: agent/go.sum
- name: Download Go modules
@@ -151,7 +151,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.24.9"
go-version: "1.26.1"
cache-dependency-path: agent/go.sum
- name: Download Go modules
@@ -168,7 +168,7 @@ jobs:
runs-on: self-hosted
needs: [lint-backend]
container:
image: golang:1.24.9
image: golang:1.26.1
options: --privileged -v /var/run/docker.sock:/var/run/docker.sock --add-host=host.docker.internal:host-gateway
volumes:
- /runner-cache/go-pkg:/go/pkg/mod

View File

@@ -22,7 +22,7 @@ RUN npm run build
# ========= BUILD BACKEND =========
# Backend build stage
FROM --platform=$BUILDPLATFORM golang:1.24.9 AS backend-build
FROM --platform=$BUILDPLATFORM golang:1.26.1 AS backend-build
# Make TARGET args available early so tools built here match the final image arch
ARG TARGETOS
@@ -81,7 +81,7 @@ RUN CGO_ENABLED=0 \
# so the agent runs on any Linux distro (Alpine, Debian, Ubuntu, RHEL, etc.).
# APP_VERSION is baked into the binary via -ldflags so the agent can
# compare its version against the server and auto-update when needed.
FROM --platform=$BUILDPLATFORM golang:1.24.9 AS agent-build
FROM --platform=$BUILDPLATFORM golang:1.26.1 AS agent-build
ARG APP_VERSION=dev

View File

@@ -1,6 +1,6 @@
module databasus-agent
go 1.24.9
go 1.26.1
require github.com/stretchr/testify v1.11.1

View File

@@ -1,6 +1,6 @@
module databasus-backend
go 1.24.9
go 1.26.1
require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.20.0