build: use Go 1.27, minimum version is Go 1.26 (#10864)

### Purpose

🎉

Signed-off-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
Jakob Borg
2026-08-19 20:23:21 +02:00
committed by GitHub
parent 305162e0af
commit 82f3e86424
4 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ on:
- infra-*
env:
GO_VERSION: "~1.26.0"
GO_VERSION: "~1.27.0"
CGO_ENABLED: "0"
BUILD_USER: docker
BUILD_HOST: github.syncthing.net
+2 -2
View File
@@ -18,7 +18,7 @@ env:
# The go version to use for builds. We set check-latest to true when
# installing, so we get the latest patch version that matches the
# expression.
GO_VERSION: "~1.26.0"
GO_VERSION: "~1.27.0"
# Optimize compatibility on the slow architectures.
GOMIPS: softfloat
@@ -108,7 +108,7 @@ jobs:
runner: ["windows-latest", "ubuntu-latest", "macos-latest"]
# The oldest version in this list should match what we have in our go.mod.
# Variables don't seem to be supported here, or we could have done something nice.
go: ["~1.25.0", "~1.26.0"]
go: ["~1.26.0", "~1.27.0"]
runs-on: ${{ matrix.runner }}
steps:
- name: Set git to use LF