Commit d32524c3 authored by Levin Zimmermann's avatar Levin Zimmermann

golang: Switch default to Go1.18

Go1.18 is the next stable go release. There is already Go1.19
(released 2022-08-02), but we incrementally increase versions.
For Go1.18 there are already many bug fix releases (last one
2022-12-06) which gives it a more stable/mature impression.

/reviewed-on nexedi/slapos!1305
parent b2a25a20
Pipeline #25597 failed with stage
in 0 seconds
...@@ -152,7 +152,7 @@ bin = ${gowork.dir:bin} ...@@ -152,7 +152,7 @@ bin = ${gowork.dir:bin}
depends = ${gowork.goinstall:recipe} depends = ${gowork.goinstall:recipe}
# go version used for the workspace (possible to override in applications) # go version used for the workspace (possible to override in applications)
golang = ${golang1.17:location} golang = ${golang1.18:location}
# no special build flags by default # no special build flags by default
buildflags = buildflags =
......
...@@ -50,6 +50,8 @@ revision = v1.17.3-0-g24a552b90b ...@@ -50,6 +50,8 @@ revision = v1.17.3-0-g24a552b90b
[gowork] [gowork]
# Fails with current default golang1.18
golang = ${golang1.17:location}
install = install =
${go_github.com_grafana_loki:location}:./cmd/loki ${go_github.com_grafana_loki:location}:./cmd/loki
${go_github.com_grafana_loki:location}:./cmd/promtail ${go_github.com_grafana_loki:location}:./cmd/promtail
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment