Skip to content

Commit bd7e43e

Browse files
authored
Upgrade to Go 1.25 (#9771)
* Upgrade to Go 1.25 - Update dockerfile - Update go.mod - Update github workflows - Update esti - Update jpebble test docker container - Github workflow match go version based on go.mod * remove go sum references to our modules * empty change
1 parent c8e2e13 commit bd7e43e

File tree

23 files changed

+75
-131
lines changed

23 files changed

+75
-131
lines changed

.github/workflows/codeql-analysis.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
node-version: "22.17.x"
2828

2929
- name: Setup Go
30-
uses: actions/setup-go@v4
30+
uses: actions/setup-go@v6
3131
with:
32-
go-version: "1.24"
32+
go-version-file: 'go.mod'
3333

3434
- name: Generate code
3535
env:

.github/workflows/compatibility-tests.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
uses: actions/checkout@v4
2121

2222
- name: Setup Go
23-
uses: actions/setup-go@v4
23+
uses: actions/setup-go@v6
2424
with:
25-
go-version: "1.24"
25+
go-version-file: 'go.mod'
2626
id: go
2727

2828
- uses: actions/setup-node@v4
@@ -76,9 +76,9 @@ jobs:
7676
node-version: "22.17.x"
7777

7878
- name: Setup Go
79-
uses: actions/setup-go@v4
79+
uses: actions/setup-go@v6
8080
with:
81-
go-version: "1.24"
81+
go-version-file: 'go.mod'
8282
id: go
8383

8484
- name: Retrieve generated code

.github/workflows/docker-publish-exp-image.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ jobs:
3535
node-version: "22.17.x"
3636

3737
- name: Set up Go
38-
uses: actions/setup-go@v4
38+
uses: actions/setup-go@v6
3939
with:
40-
go-version: "1.24"
40+
go-version-file: 'go.mod'
4141
id: go
4242

4343
- uses: bufbuild/[email protected]

.github/workflows/docker-publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
node-version: "22.17.x"
2929

3030
- name: Set up Go
31-
uses: actions/setup-go@v4
31+
uses: actions/setup-go@v6
3232
with:
33-
go-version: "1.24"
33+
go-version-file: 'go.mod'
3434
id: go
3535

3636
- uses: bufbuild/[email protected]

.github/workflows/esti.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ jobs:
6464

6565
- name: Setup Go
6666
if: steps.restore-cache.outputs.cache-hit != 'true'
67-
uses: actions/setup-go@v4
67+
uses: actions/setup-go@v6
6868
with:
69-
go-version: "1.24"
69+
go-version-file: 'go.mod'
7070
id: go
7171

7272
- name: Setup NodeJS
@@ -210,9 +210,9 @@ jobs:
210210
uses: actions/checkout@v4
211211

212212
- name: Setup Go
213-
uses: actions/setup-go@v4
213+
uses: actions/setup-go@v6
214214
with:
215-
go-version: "1.24"
215+
go-version-file: 'go.mod'
216216
id: go
217217

218218
- name: Generate uniquifying value

.github/workflows/goreleaser.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
node-version: "22.17.x"
2727

2828
- name: Setup Go
29-
uses: actions/setup-go@v4
29+
uses: actions/setup-go@v6
3030
with:
31-
go-version: "1.24"
31+
go-version-file: 'go.mod'
3232

3333
- name: Configure AWS Credentials
3434
uses: aws-actions/configure-aws-credentials@v4

.github/workflows/test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
- name: Check-out code
1313
uses: actions/checkout@v4
1414
- name: Setup Go
15-
uses: actions/setup-go@v4
15+
uses: actions/setup-go@v6
1616
with:
17-
go-version: "1.24"
17+
go-version-file: 'go.mod'
1818
- uses: actions/setup-node@v4
1919
with:
2020
node-version: "22.17.x"
@@ -47,9 +47,9 @@ jobs:
4747
- name: Check-out code
4848
uses: actions/checkout@v4
4949
- name: Setup Go
50-
uses: actions/setup-go@v4
50+
uses: actions/setup-go@v6
5151
with:
52-
go-version: "1.24"
52+
go-version-file: 'go.mod'
5353
- name: Install Bencher
5454
uses: bencherdev/bencher@61e6a2c2e0b4c8f61c87bef598ba9dbafa51c689 # Stable digest for v0.5.8
5555
continue-on-error: true

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
ARG VERSION=dev
33

44
ARG BUILD_REPO=golang
5-
ARG BUILD_TAG=1.24-alpine
5+
ARG BUILD_TAG=1.25-alpine
66
ARG BUILD_PACKAGES="build-base ca-certificates"
77

88
ARG IMAGE_REPO=alpine

clients/spark/src/test/scala/io/treeverse/jpebble/BlockParserSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ class CountedIteratorSpec extends AnyFunSpec with Matchers {
304304

305305
class GolangContainerSpec extends AnyFunSpec with ForAllTestContainer {
306306
override val container: GenericContainer = GenericContainer(
307-
"golang:1.24-alpine",
307+
"golang:1.25-alpine",
308308
classpathResourceMapping = Seq(
309309
FileSystemBind("parser-test/sst_files_generator.go",
310310
"/local/sst_files_generator.go",

esti/ops/docker-compose-common.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ services:
1818
- "host.docker.internal:host-gateway"
1919

2020
esti:
21-
image: "golang:1.24-alpine"
21+
image: "golang:1.25-alpine"
2222
links:
2323
- lakefs:s3.local.lakefs.io
2424
- lakefs:testmultipartupload.s3.local.lakefs.io

0 commit comments

Comments
 (0)