chore: update go to 1.24.2 (#17356)

this updates `go` to the latest stable patch version `1.24.2` in:
- `go.mod`
- `dogfood/coder/Dockerfile`
- `.github/actions/setup-go/action.yaml`
- `flake.nix`

written with the assistance of ClaudeCode.

---------

Co-authored-by: Thomas Kosiewski <tk@coder.com>
This commit is contained in:
Eric Paulsen
2025-04-16 11:11:02 -07:00
committed by GitHub
co-authored by Thomas Kosiewski
parent a8c2586404
commit d20966d500
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ description: |
inputs:
version:
description: "The Go version to use."
default: "1.24.1"
default: "1.24.2"
runs:
using: "composite"
steps:
+1 -1
View File
@@ -9,7 +9,7 @@ RUN cargo install 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.1
ARG GO_VERSION=1.24.2
# Boring Go is needed to build FIPS-compliant binaries.
RUN apt-get update && \
+2 -2
View File
@@ -130,7 +130,7 @@
gnused
gnugrep
gnutar
go_1_22
unstablePkgs.go_1_24
go-migrate
(pinnedPkgs.golangci-lint)
gopls
@@ -196,7 +196,7 @@
# slim bundle into it's own derivation.
buildFat =
osArch:
pkgs.buildGo122Module {
unstablePkgs.buildGo124Module {
name = "coder-${osArch}";
# Updated with ./scripts/update-flake.sh`.
# This should be updated whenever go.mod changes!
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/coder/coder/v2
go 1.24.1
go 1.24.2
// 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