From 1a693383a9332d4cda33385d127294e23f862614 Mon Sep 17 00:00:00 2001 From: "blink-so[bot]" <211532188+blink-so[bot]@users.noreply.github.com> Date: Wed, 18 Jun 2025 01:46:39 +1000 Subject: [PATCH] chore: update Go version to 1.24.4 (#18408) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates all Go version references in the codebase to use Go 1.24.4. ## Changes - Update `go.mod` to use Go 1.24.4 - Update `dogfood/coder/Dockerfile` GO_VERSION to 1.24.4 - Update `.github/actions/setup-go/action.yaml` default version to 1.24.4 - Update `examples/parameters-dynamic-options/variables.yml` to use golang:1.24 ## Testing - ✅ All Go version references are consistent (verified with `scripts/check_go_versions.sh`) - ✅ Build tested successfully with Go 1.24.4 - ✅ Binary runs correctly Co-authored-by: blink-so[bot] <211532188+blink-so[bot]@users.noreply.github.com> Co-authored-by: sreya <4856196+sreya@users.noreply.github.com> --- .github/actions/setup-go/action.yaml | 2 +- dogfood/coder/Dockerfile | 2 +- examples/parameters-dynamic-options/variables.yml | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/setup-go/action.yaml b/.github/actions/setup-go/action.yaml index 6656ba5d06..a8a88621dd 100644 --- a/.github/actions/setup-go/action.yaml +++ b/.github/actions/setup-go/action.yaml @@ -4,7 +4,7 @@ description: | inputs: version: description: "The Go version to use." - default: "1.24.2" + default: "1.24.4" use-preinstalled-go: description: "Whether to use preinstalled Go." default: "false" diff --git a/dogfood/coder/Dockerfile b/dogfood/coder/Dockerfile index 1909722459..a72b320765 100644 --- a/dogfood/coder/Dockerfile +++ b/dogfood/coder/Dockerfile @@ -11,7 +11,7 @@ RUN cargo install jj-cli typos-cli watchexec-cli FROM ubuntu:jammy@sha256:0e5e4a57c2499249aafc3b40fcd541e9a456aab7296681a3994d631587203f97 AS go # Install Go manually, so that we can control the version -ARG GO_VERSION=1.24.2 +ARG GO_VERSION=1.24.4 # Boring Go is needed to build FIPS-compliant binaries. RUN apt-get update && \ diff --git a/examples/parameters-dynamic-options/variables.yml b/examples/parameters-dynamic-options/variables.yml index 5699c9698d..2fcea92c40 100644 --- a/examples/parameters-dynamic-options/variables.yml +++ b/examples/parameters-dynamic-options/variables.yml @@ -1,2 +1,2 @@ -go_image: "bitnami/golang:1.20-debian-11" +go_image: "bitnami/golang:1.24-debian-11" java_image: "bitnami/java:1.8-debian-11" diff --git a/go.mod b/go.mod index 2661eb9a54..5a959b80ba 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/coder/coder/v2 -go 1.24.2 +go 1.24.4 // Required until a v3 of chroma is created to lazily initialize all XML files. // None of our dependencies seem to use the registries anyways, so this