ci: align Go toolchain to go.mod 1.25 #5

Merged
gsadmin merged 1 commits from development into main 2026-09-02 13:34:04 +00:00
3 changed files with 4 additions and 3 deletions
+3 -1
View File
@@ -94,7 +94,9 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
# Install exactly the version go.mod requires so GOTOOLCHAIN=local has
# a matching toolchain and never needs to download one.
go-version-file: backend/go.mod
- name: Setup Node
uses: actions/setup-node@v4
+1 -1
View File
@@ -23,7 +23,7 @@ RUN npm run build
# ---------------------------------------------------------------------------
# Stage 2: build the Go binary with the UI embedded
# ---------------------------------------------------------------------------
FROM golang:1.24-alpine AS builder
FROM golang:1.25-alpine AS builder
# Pure-Go SQLite (modernc.org/sqlite) means no C toolchain is needed.
RUN apk add --no-cache git
-1
View File
@@ -114,7 +114,6 @@ if ($BuildWindows) {
$GoVersionInfo = Join-Path (Join-Path $env:USERPROFILE "go\bin") "goversioninfo.exe"
if (-not (Test-Path $GoVersionInfo)) {
Write-Host " Installing goversioninfo..." -ForegroundColor Yellow
$env:GOTOOLCHAIN = "local"
go install github.com/josephspurrier/goversioninfo/cmd/goversioninfo@v1.7.0
}
$vp = $Version -split '\.'