Skip to content

Commit 581b706

Browse files
authored
Merge pull request #6091 from oasisprotocol/peternose/internal/go-1.24.0
go: Bump go to 1.24.0
2 parents e21311b + f0f88f3 commit 581b706

9 files changed

Lines changed: 19 additions & 18 deletions

File tree

.changelog/6091.internal.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
go: Bump go to 1.24.0

.github/workflows/ci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Set up Go
4747
uses: actions/setup-go@v5
4848
with:
49-
go-version: "1.23.2"
49+
go-version: "1.24.x"
5050
- name: Set up Rust
5151
run: rustup show
5252
- name: Install dependencies

.github/workflows/ci-reproducibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Set up Go
4040
uses: actions/setup-go@v5
4141
with:
42-
go-version: "1.23.2"
42+
go-version: "1.24.x"
4343
- name: Set up Rust
4444
working-directory: build${{ matrix.build_number }}
4545
run: rustup show

.github/workflows/release-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Set up Go
3636
uses: actions/setup-go@v5
3737
with:
38-
go-version: "1.23.2"
38+
go-version: "1.24.x"
3939
- name: Set up Rust
4040
run: rustup show
4141
- name: Install Oasis Node prerequisites

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Set up Go
3939
uses: actions/setup-go@v5
4040
with:
41-
go-version: "1.23.2"
41+
go-version: "1.24.x"
4242

4343
- name: Set up Rust
4444
run: rustup show

docker/oasis-core-dev/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
FROM ubuntu:22.04
22

33
# Package versions.
4-
ARG GO_VERSION=1.23.2
4+
ARG GO_VERSION=1.24.0
55
ARG GO_NANCY_VERSION=1.0.33
66
ARG GO_NANCY_CHECKSUM=a4bf5290d41b095c04f941ed5380674770c79d59735e33b1bd07a5cd5fbb135d
77
ARG GO_PROTOC_VERSION=3.6.1
88
ARG GO_PROTOC_GEN_GO_VERSION=1.21.0
9-
ARG GOLANGCILINT_VERSION=1.63.4
9+
ARG GOLANGCILINT_VERSION=1.64.5
1010
ARG GOCOVMERGE_VERSION=b5bfa59ec0adc420475f97f89b58045c721d761c
11-
ARG GOFUMPT_VERSION=v0.6.0
12-
ARG GOIMPORTS_VERSION=v0.18.0
11+
ARG GOFUMPT_VERSION=v0.7.0
12+
ARG GOIMPORTS_VERSION=v0.30.0
1313
ARG RUST_NIGHTLY_VERSION=2024-07-09
1414
ARG JEMALLOC_VERSION=5.2.1
1515
ARG JEMALLOC_CHECKSUM=34330e5ce276099e2e8950d9335db5a875689a4c6a56751ef3b1d8c537f887f6

docs/development-setup/prerequisites.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Core:
4040
```
4141
<!-- markdownlint-enable line-length -->
4242

43-
* [Go] (at least version 1.23.2).
43+
* [Go] (at least version 1.24.0).
4444

4545
If your distribution provides a new-enough version of Go, just use that.
4646

@@ -52,18 +52,18 @@ Core:
5252
* [ensure `$GOPATH/bin` is in your `PATH`](
5353
https://tip.golang.org/doc/code.html#GOPATH),
5454
* [install the desired version of Go](
55-
https://golang.org/doc/install#extra_versions), e.g. 1.23.2, with:
55+
https://golang.org/doc/install#extra_versions), e.g. 1.24.0, with:
5656

5757
```
58-
go install golang.org/dl/go1.23.2@latest
59-
go1.23.2 download
58+
go install golang.org/dl/go1.24.0@latest
59+
go1.24.0 download
6060
```
6161
6262
* instruct the build system to use this particular version of Go by setting
6363
the `OASIS_GO` environment variable in your `~/.bashrc`:
6464
6565
```
66-
export OASIS_GO=go1.23.2
66+
export OASIS_GO=go1.24.0
6767
```
6868
6969
* [Rust].
@@ -137,8 +137,8 @@ Core:
137137
Download and install it with:
138138
139139
```
140-
${OASIS_GO:-go} install mvdan.cc/gofumpt@v0.6.0
141-
${OASIS_GO:-go} install golang.org/x/tools/cmd/goimports@v0.18.0
140+
${OASIS_GO:-go} install mvdan.cc/gofumpt@v0.7.0
141+
${OASIS_GO:-go} install golang.org/x/tools/cmd/goimports@v0.30.0
142142
```
143143
144144
* (**OPTIONAL**) [golangci-lint].
@@ -151,7 +151,7 @@ Core:
151151
```
152152
curl -sSfL \
153153
https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh \
154-
| sh -s -- -b $(${OASIS_GO:-go} env GOPATH)/bin v1.56.1
154+
| sh -s -- -b $(${OASIS_GO:-go} env GOPATH)/bin v1.64.5
155155
```
156156
157157
* (**OPTIONAL**) [protoc-gen-go].

go/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,4 +219,4 @@ require (
219219
lukechampine.com/blake3 v1.3.0 // indirect
220220
)
221221

222-
go 1.23.2
222+
go 1.24.0

tests/upgrade/post/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/oasisprotocol/oasis-core/test-upgrade
22

3-
go 1.23.2
3+
go 1.24.0
44

55
replace (
66
github.com/cometbft/cometbft => github.com/oasisprotocol/cometbft v0.37.2-oasis1

0 commit comments

Comments
 (0)