Skip to content

Commit f450e88

Browse files
authored
[dep] Upgrade Go to 1.26.1 (#544)
* [test] Upgrade Go to 1.26.1 * [test] Use auto Go toolchain in Devbox
1 parent 39a39b1 commit f450e88

5 files changed

Lines changed: 21 additions & 21 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.25-alpine AS builder
1+
FROM golang:1.26-alpine AS builder
22
RUN mkdir -p /linode
33
WORKDIR /linode
44

cloud/linode/loadbalancers_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3899,8 +3899,8 @@ func Test_getPortConfig(t *testing.T) {
38993899

39003900
if !reflect.DeepEqual(portConfigResult, test.expectedPortConfig) {
39013901
t.Error("unexpected port config")
3902-
t.Logf("expected: %q", test.expectedPortConfig)
3903-
t.Logf("actual: %q", portConfigResult)
3902+
t.Logf("expected: %#v", test.expectedPortConfig)
3903+
t.Logf("actual: %#v", portConfigResult)
39043904
}
39053905

39063906
if !reflect.DeepEqual(err, test.err) {

devbox.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"clusterctl@latest",
55
66
"envsubst@latest",
7-
"go@1.25.1",
7+
"go@1.26.0",
88
99
"jq@latest",
1010
"kind@latest",
@@ -27,6 +27,7 @@
2727
}
2828
},
2929
"env": {
30-
"EXP_CLUSTER_RESOURCE_SET": "true"
30+
"EXP_CLUSTER_RESOURCE_SET": "true",
31+
"GOTOOLCHAIN": "auto"
3132
}
3233
}

devbox.lock

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -194,53 +194,54 @@
194194
}
195195
},
196196
"github:NixOS/nixpkgs/nixpkgs-unstable": {
197-
"resolved": "github:NixOS/nixpkgs/e0042dedfbc9134ef973f64e5c7f56a38cc5cc97?lastModified=1748344075&narHash=sha256-PsZAY3H0e%2FPBoDVn4fLwGEmeSwESj7SZPZ6CMfgbWFU%3D"
197+
"last_modified": "2026-03-10T02:35:18Z",
198+
"resolved": "github:NixOS/nixpkgs/e607cb5360ff1234862ac9f8839522becb853bb9?lastModified=1773110118&narHash=sha256-mPAG8phMbCReKSiKAijjjd3v7uVcJOQ75gSjGJjt%2FRk%3D"
198199
},
199-
"go@1.25.1": {
200-
"last_modified": "2025-10-07T08:41:47Z",
201-
"resolved": "github:NixOS/nixpkgs/bce5fe2bb998488d8e7e7856315f90496723793c#go",
200+
"go@1.26.0": {
201+
"last_modified": "2026-02-23T15:40:43Z",
202+
"resolved": "github:NixOS/nixpkgs/80d901ec0377e19ac3f7bb8c035201e2e098cc97#go_1_26",
202203
"source": "devbox-search",
203-
"version": "1.25.1",
204+
"version": "1.26.0",
204205
"systems": {
205206
"aarch64-darwin": {
206207
"outputs": [
207208
{
208209
"name": "out",
209-
"path": "/nix/store/mkdfnr1nkfj2kznxyag9pypbxp3wqqdv-go-1.25.1",
210+
"path": "/nix/store/5ajixjk279m40yf6x96xxlnvw1wg6hq3-go-1.26.0",
210211
"default": true
211212
}
212213
],
213-
"store_path": "/nix/store/mkdfnr1nkfj2kznxyag9pypbxp3wqqdv-go-1.25.1"
214+
"store_path": "/nix/store/5ajixjk279m40yf6x96xxlnvw1wg6hq3-go-1.26.0"
214215
},
215216
"aarch64-linux": {
216217
"outputs": [
217218
{
218219
"name": "out",
219-
"path": "/nix/store/0jzj8p7k9wkr4l17sgrlg3z5di27sggf-go-1.25.1",
220+
"path": "/nix/store/b0ncnyjis5pfzm86pb0y3klgdw2gwyww-go-1.26.0",
220221
"default": true
221222
}
222223
],
223-
"store_path": "/nix/store/0jzj8p7k9wkr4l17sgrlg3z5di27sggf-go-1.25.1"
224+
"store_path": "/nix/store/b0ncnyjis5pfzm86pb0y3klgdw2gwyww-go-1.26.0"
224225
},
225226
"x86_64-darwin": {
226227
"outputs": [
227228
{
228229
"name": "out",
229-
"path": "/nix/store/q2xylk8h3kbfajhw2lpdmyzyyqgqx8fl-go-1.25.1",
230+
"path": "/nix/store/kpr6dqdjixi0b1wh7phisqmzkxjw7ln7-go-1.26.0",
230231
"default": true
231232
}
232233
],
233-
"store_path": "/nix/store/q2xylk8h3kbfajhw2lpdmyzyyqgqx8fl-go-1.25.1"
234+
"store_path": "/nix/store/kpr6dqdjixi0b1wh7phisqmzkxjw7ln7-go-1.26.0"
234235
},
235236
"x86_64-linux": {
236237
"outputs": [
237238
{
238239
"name": "out",
239-
"path": "/nix/store/f01qkydd3c2jqwi4w6hkddkf3blp16kw-go-1.25.1",
240+
"path": "/nix/store/s9dwyyi8mk76wslsm6jl50ky9hd11pv3-go-1.26.0",
240241
"default": true
241242
}
242243
],
243-
"store_path": "/nix/store/f01qkydd3c2jqwi4w6hkddkf3blp16kw-go-1.25.1"
244+
"store_path": "/nix/store/s9dwyyi8mk76wslsm6jl50ky9hd11pv3-go-1.26.0"
244245
}
245246
}
246247
},

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/linode/linode-cloud-controller-manager
22

3-
go 1.25.0
4-
5-
toolchain go1.25.5
3+
go 1.26.1
64

75
require (
86
github.com/appscode/go v0.0.0-20201105063637-5613f3b8169f

0 commit comments

Comments
 (0)