You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RTECO-945 - Fix Go version mismatch in Alpine APK CI
Alpine package repos only ship Go <=1.23 (even on Alpine 3.21), but
go.mod requires go 1.26.3, causing 'invalid go version' parse errors.
Fix: do not install Go via 'apk add go'. Instead:
- Record the host GOROOT after install-go-with-cache (new step)
- Mount that directory into the Alpine chroot via jirutka/setup-alpine
volumes input so the same Go 1.26 binary is available inside Alpine
- Export GOROOT/GOPATH/GOCACHE into the alpine.sh test step and
prepend GOROOT/bin to PATH so 'go' resolves to the host toolchain
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments