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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy