Skip to content

Commit 0847977

Browse files
committed
Bump Go to 1.24.7 to avoid GO-2025-3956
1 parent 8c11e83 commit 0847977

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

flakes/go/flake.nix

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@
88
flake-utils.lib.eachDefaultSystem (system:
99
let
1010
pkgs = import nixpkgs { inherit system; };
11+
version = "1.24.7";
1112
in
1213
{
1314
packages.default = pkgs.go_1_24.overrideAttrs (old: {
14-
version = "1.24.4";
15+
pname = "go";
16+
inherit version;
1517
src = pkgs.fetchurl {
16-
url = "https://golang.org/dl/go1.24.4.linux-amd64.tar.gz";
17-
sha256 = "sha256-d+XaM7tyrq7xukQYtv5RG8TQQYc8v4LlqmMYdA35hxc=";
18+
url = "https://golang.org/dl/go${version}.linux-amd64.tar.gz";
19+
sha256 = "sha256-2hgZHdt9uKkzmBbz4rVL3e2AR83CpdZwWUePjRWVxD8=";
1820
};
1921
});
2022
});

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/mongodb/mongodb-atlas-kubernetes/v2
22

33
go 1.24.0
44

5-
toolchain go1.24.4
5+
toolchain go1.24.7
66

77
require (
88
cloud.google.com/go/kms v1.23.0

tools/openapi2crd/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module tools/openapi2crd
22

33
go 1.24
44

5-
toolchain go1.24.0
5+
toolchain go1.24.7
66

77
require (
88
github.com/getkin/kin-openapi v0.131.0

0 commit comments

Comments
 (0)