chore: bump go to 1.27.1 in the worker and extra images (#11537)

* chore: bump go to 1.27.1 in the worker and extra images

* chore: move the lsp scratch go.mod to go 1.27
This commit is contained in:
Ruben Fiszel
2026-10-05 14:47:35 +00:00
committed by GitHub
parent 222dad1d8c
commit 4acb5b8f18
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ ARG POWERSHELL_VERSION=7.5.0
ARG KUBECTL_VERSION=1.36.2
ARG HELM_VERSION=3.21.4
# NOTE: If changing, also change go version in workspace dependencies template at WorkspaceDependenciesEditor.svelte
ARG GO_VERSION=1.26.8
ARG GO_VERSION=1.27.1
ARG APP=/usr/src/app
ARG WITH_POWERSHELL=true
ARG WITH_KUBECTL=true
@@ -510,7 +510,7 @@ impl WorkspaceDependenciesPrefetched {
// external.get(0).map(|wd| dbg!(wd.content.clone())).or(Some(
// "
// module mymod
// go 1.26
// go 1.27
// require ()
// "
// .to_owned(),
+3 -3
View File
@@ -44,9 +44,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
RUN set -eux; \
arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
case "$arch" in \
'amd64') targz='go1.26.0.linux-amd64.tar.gz' ;; \
'arm64') targz='go1.26.0.linux-arm64.tar.gz' ;; \
'armhf') targz='go1.26.0.linux-armv6l.tar.gz' ;; \
'amd64') targz='go1.27.1.linux-amd64.tar.gz' ;; \
'arm64') targz='go1.27.1.linux-arm64.tar.gz' ;; \
'armhf') targz='go1.27.1.linux-armv6l.tar.gz' ;; \
*) echo >&2 "error: unsupported architecture '$arch'"; exit 1 ;; \
esac; \
wget "https://golang.org/dl/$targz" -nv && tar -C /usr/local -xzf "$targz" && rm "$targz"
+1 -1
View File
@@ -134,7 +134,7 @@ fi
# Setup Monaco temp directory for LSP
mkdir -p /tmp/monaco
if [ ! -f /tmp/monaco/go.mod ]; then
echo -e "module mymod\ngo 1.26" > /tmp/monaco/go.mod
echo -e "module mymod\ngo 1.27" > /tmp/monaco/go.mod
fi
echo "[entrypoint] Starting Windmill Extra Services"
@@ -154,7 +154,7 @@ numpy>=1.24.0
// go: `module mymod
// go 1.26
// go 1.27
// require (
// rsc.io/quote v1.5.2
+1 -1
View File
@@ -194,7 +194,7 @@ if __name__ == "__main__":
go_mod_path = os.path.join(monaco_path, "go.mod")
if not os.path.exists(go_mod_path):
f = open(go_mod_path, "w")
f.write("module mymod\ngo 1.26")
f.write("module mymod\ngo 1.27")
f.close()
# Sync instance-level ruff config into /tmp/monaco/ruff.toml so every