mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
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:
co-authored by
Thomas Kosiewski
parent
a8c2586404
commit
d20966d500
@@ -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:
|
||||
|
||||
@@ -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 && \
|
||||
|
||||
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user