Skip to content

Commit e88f836

Browse files
committed
Bump to Go 1.25
Signed-off-by: jose.vazquez <[email protected]>
1 parent 9ed4269 commit e88f836

File tree

13 files changed

+69
-22
lines changed

13 files changed

+69
-22
lines changed

Dockerfile.post-install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.23 as builder
2+
FROM golang:1.25 as builder
33

44
ENV CGO_ENABLED=0
55
ENV GOOS=linux

devbox.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"yq-go@latest",
44
55
"jq@latest",
6-
"path:flakes/go",
6+
"go_1_25@latest",
77
"gotests@latest",
88
"act@latest",
99
"kubectl@latest",

devbox.lock

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,54 @@
577577
}
578578
}
579579
},
580+
"go_1_25@latest": {
581+
"last_modified": "2025-08-08T08:05:48Z",
582+
"resolved": "github:NixOS/nixpkgs/a3f3e3f2c983e957af6b07a1db98bafd1f87b7a1#go_1_25",
583+
"source": "devbox-search",
584+
"version": "1.25rc3",
585+
"systems": {
586+
"aarch64-darwin": {
587+
"outputs": [
588+
{
589+
"name": "out",
590+
"path": "/nix/store/3h76v26b24dqxhd1i8gzcg8bwzxzmrhl-go-1.25rc3",
591+
"default": true
592+
}
593+
],
594+
"store_path": "/nix/store/3h76v26b24dqxhd1i8gzcg8bwzxzmrhl-go-1.25rc3"
595+
},
596+
"aarch64-linux": {
597+
"outputs": [
598+
{
599+
"name": "out",
600+
"path": "/nix/store/1sy3nfyahk3a3pg5x301jx96yxg8sw3y-go-1.25rc3",
601+
"default": true
602+
}
603+
],
604+
"store_path": "/nix/store/1sy3nfyahk3a3pg5x301jx96yxg8sw3y-go-1.25rc3"
605+
},
606+
"x86_64-darwin": {
607+
"outputs": [
608+
{
609+
"name": "out",
610+
"path": "/nix/store/vh7db8clgyymv47wsddpw908bbf1dikm-go-1.25rc3",
611+
"default": true
612+
}
613+
],
614+
"store_path": "/nix/store/vh7db8clgyymv47wsddpw908bbf1dikm-go-1.25rc3"
615+
},
616+
"x86_64-linux": {
617+
"outputs": [
618+
{
619+
"name": "out",
620+
"path": "/nix/store/nbq04hs95dpiwmfnqiky5l4z8azbqj6i-go-1.25rc3",
621+
"default": true
622+
}
623+
],
624+
"store_path": "/nix/store/nbq04hs95dpiwmfnqiky5l4z8azbqj6i-go-1.25rc3"
625+
}
626+
}
627+
},
580628
581629
"last_modified": "2025-03-25T17:32:05Z",
582630
"resolved": "github:NixOS/nixpkgs/25d1b84f5c90632a623c48d83a2faf156451e6b1#golangci-lint",

flakes/go/flake.lock

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flakes/go/flake.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
description = "A flake for Go 1.24.4";
2+
description = "A flake for Go 1.25 versions";
33
inputs = {
4-
nixpkgs.url = "github:NixOS/nixpkgs";
4+
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
55
flake-utils.url = "github:numtide/flake-utils";
66
};
77
outputs = { self, nixpkgs, flake-utils }:
@@ -10,11 +10,11 @@
1010
pkgs = import nixpkgs { inherit system; };
1111
in
1212
{
13-
packages.default = pkgs.go_1_24.overrideAttrs (old: {
14-
version = "1.24.6";
13+
packages.default = pkgs.go_1_25.overrideAttrs (old: {
14+
version = "1.25.1";
1515
src = pkgs.fetchurl {
16-
url = "https://golang.org/dl/go1.24.6.linux-amd64.tar.gz";
17-
sha256 = "sha256-u8o3zDlcl0/6SJPuNYGa0j67J0Jt+Hr5LpOp7GbvhxI=";
16+
url = "https://golang.org/dl/go1.25.1.linux-amd64.tar.gz";
17+
sha256 = "sha256-dxag2UCg9q6OHzs/TzYpncU+MbFoQNvRcSVDEsQcoS4=";
1818
};
1919
});
2020
});

go.mod

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

3-
go 1.25.0
3+
go 1.25.1
44

55
require (
66
cloud.google.com/go/kms v1.23.0

tools/ako2api/devbox.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
}
5151
},
5252
"github:NixOS/nixpkgs/nixpkgs-unstable": {
53-
"last_modified": "2025-09-05T01:14:44Z",
54-
"resolved": "github:NixOS/nixpkgs/ca77296380960cd497a765102eeb1356eb80fed0?lastModified=1757034884&narHash=sha256-PgLSZDBEWUHpfTRfFyklmiiLBE1i1aGCtz4eRA3POao%3D"
53+
"last_modified": "2025-09-16T13:27:06Z",
54+
"resolved": "github:NixOS/nixpkgs/08b8f92ac6354983f5382124fef6006cade4a1c1?lastModified=1758029226&narHash=sha256-TjqVmbpoCqWywY9xIZLTf6ANFvDCXdctCjoYuYPYdMI%3D"
5555
},
5656
"go@latest": {
5757
"last_modified": "2025-07-28T17:09:23Z",

tools/ako2api/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/mongodb/mongodb-atlas-kubernetes/tools/ako2api
22

3-
go 1.24.7
3+
go 1.25.1
44

55
require (
66
github.com/stretchr/testify v1.10.0

tools/crd2go/.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Set up Go
3535
uses: actions/setup-go@v5
3636
with:
37-
go-version: '1.24'
37+
go-version: '1.25'
3838

3939
- name: Build
4040
run: go build -v ./...

tools/crd2go/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/mongodb/mongodb-atlas-kubernetes/tools/crd2go
22

3-
go 1.24.3
3+
go 1.25.1
44

55
require (
66
github.com/dave/jennifer v1.7.1

0 commit comments

Comments
 (0)