From 5419fcdc6578cbef7ecae563cce286691574f3dc Mon Sep 17 00:00:00 2001 From: Antoine Toussaint <312536060+antoinetoussaint-byte@users.noreply.github.com> Date: Tue, 27 Oct 2026 20:20:53 -0400 Subject: [PATCH] fix(build): release binaries on Go 1.27.3 (GO-2026-6809) Raise the go directive from 1.27.0 to 1.27.3. Releases go through core's shared go-service-release.yml, which installs Go with `actions/setup-go` `go-version-file: go.mod`, so the directive is both the module floor and exactly the compiler that ships; go1.27.3 carries the crypto/x509 fix for GO-2026-6809. ci.yml's comment claimed go.mod pins a `toolchain` newer than the `go` line; it does not. The comment now states the actual situation and why caching stays off. No `toolchain` line and no GOTOOLCHAIN pin are added: both are selectors that would hold the build back once the directive moves again. Co-Authored-By: Claude Fable 5.1 --- .github/workflows/ci.yml | 9 +++++---- go.mod | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9254312..09b0f00 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,10 +15,11 @@ jobs: - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - # go.mod pins a `toolchain` newer than the `go` line, so setup-go - # installs the older Go and GOTOOLCHAIN downloads the toolchain into - # the module cache; setup-go's cache tar then collides on those - # read-only toolchain files (tar: .../cgo: File exists). Skip caching. + # go.mod carries no `toolchain` line: its `go` directive is exactly the + # Go that setup-go installs. Caching stays off: when a `toolchain` line + # did exist, GOTOOLCHAIN downloaded it into the module cache and + # setup-go's cache tar collided on those read-only files + # (tar: .../cgo: File exists). cache: false - name: Build run: go build ./... diff --git a/go.mod b/go.mod index 93bb917..6532c3e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/codefly-dev/service-s3 -go 1.27.0 +go 1.27.3 require ( github.com/codefly-dev/core v0.3.4