From ddace2d9caff83ce46d86dc1d7b42d90e7dbbc2d Mon Sep 17 00:00:00 2001 From: Alexandre Daubois Date: Tue, 25 Aug 2026 12:06:27 +0200 Subject: [PATCH] chore: upgrade to Go 1.27 --- .github/scripts/docker-verify-fingerprints.sh | 2 +- caddy/go.mod | 2 +- dev-alpine.Dockerfile | 2 +- dev.Dockerfile | 2 +- docker-bake.hcl | 2 +- go.mod | 2 +- internal/extgen/integration_test.go | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/scripts/docker-verify-fingerprints.sh b/.github/scripts/docker-verify-fingerprints.sh index 2d50ff7175..3db2764837 100755 --- a/.github/scripts/docker-verify-fingerprints.sh +++ b/.github/scripts/docker-verify-fingerprints.sh @@ -7,7 +7,7 @@ USE_LATEST_PHP="${USE_LATEST_PHP:-0}" if [[ -z "${GO_VERSION}" ]]; then GO_VERSION="$(awk -F'"' '/variable "GO_VERSION"/ {f=1} f && /default/ {print $2; exit}' docker-bake.hcl)" - GO_VERSION="${GO_VERSION:-1.26}" + GO_VERSION="${GO_VERSION:-1.27}" fi if [[ -z "${PHP_VERSION}" ]]; then diff --git a/caddy/go.mod b/caddy/go.mod index 55476af4c7..41a28f90c3 100644 --- a/caddy/go.mod +++ b/caddy/go.mod @@ -1,6 +1,6 @@ module github.com/dunglas/frankenphp/caddy -go 1.26.0 +go 1.27.0 replace github.com/dunglas/frankenphp => ../ diff --git a/dev-alpine.Dockerfile b/dev-alpine.Dockerfile index 04efda04e8..b3b63c1e31 100644 --- a/dev-alpine.Dockerfile +++ b/dev-alpine.Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1 #checkov:skip=CKV_DOCKER_2 #checkov:skip=CKV_DOCKER_3 -FROM golang:1.26-alpine +FROM golang:1.27-alpine ENV GOTOOLCHAIN=local ENV CFLAGS="-ggdb3" diff --git a/dev.Dockerfile b/dev.Dockerfile index a0d1496b98..d6ee769e88 100644 --- a/dev.Dockerfile +++ b/dev.Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1 #checkov:skip=CKV_DOCKER_2 #checkov:skip=CKV_DOCKER_3 -FROM golang:1.26 +FROM golang:1.27 ENV GOTOOLCHAIN=local ENV CFLAGS="-ggdb3" diff --git a/docker-bake.hcl b/docker-bake.hcl index 7826903d16..a972ca1176 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -11,7 +11,7 @@ variable "PHP_VERSION" { } variable "GO_VERSION" { - default = "1.26" + default = "1.27" } variable "BASE_FINGERPRINT" { diff --git a/go.mod b/go.mod index 081e2c61fe..2876076496 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/dunglas/frankenphp -go 1.26.0 +go 1.27.0 retract v1.0.0-rc.1 // Human error diff --git a/internal/extgen/integration_test.go b/internal/extgen/integration_test.go index 2381b0d6f4..2180214498 100644 --- a/internal/extgen/integration_test.go +++ b/internal/extgen/integration_test.go @@ -75,7 +75,7 @@ func (s *IntegrationTestSuite) createGoModule(sourceFile string) (string, error) goModContent := fmt.Sprintf(`module %s -go 1.26 +go 1.27 require github.com/dunglas/frankenphp v0.0.0