Skip to content

Commit d20966d

Browse files
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>
1 parent a8c2586 commit d20966d

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/actions/setup-go/action.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: |
44
inputs:
55
version:
66
description: "The Go version to use."
7-
default: "1.24.1"
7+
default: "1.24.2"
88
runs:
99
using: "composite"
1010
steps:

dogfood/coder/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN cargo install typos-cli watchexec-cli && \
99
FROM ubuntu:jammy@sha256:0e5e4a57c2499249aafc3b40fcd541e9a456aab7296681a3994d631587203f97 AS go
1010

1111
# Install Go manually, so that we can control the version
12-
ARG GO_VERSION=1.24.1
12+
ARG GO_VERSION=1.24.2
1313

1414
# Boring Go is needed to build FIPS-compliant binaries.
1515
RUN apt-get update && \

flake.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
gnused
131131
gnugrep
132132
gnutar
133-
go_1_22
133+
unstablePkgs.go_1_24
134134
go-migrate
135135
(pinnedPkgs.golangci-lint)
136136
gopls
@@ -196,7 +196,7 @@
196196
# slim bundle into it's own derivation.
197197
buildFat =
198198
osArch:
199-
pkgs.buildGo122Module {
199+
unstablePkgs.buildGo124Module {
200200
name = "coder-${osArch}";
201201
# Updated with ./scripts/update-flake.sh`.
202202
# This should be updated whenever go.mod changes!

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/coder/coder/v2
22

3-
go 1.24.1
3+
go 1.24.2
44

55
// Required until a v3 of chroma is created to lazily initialize all XML files.
66
// None of our dependencies seem to use the registries anyways, so this

0 commit comments

Comments
 (0)