diff --git a/.changelog/5854.internal.md b/.changelog/5854.internal.md new file mode 100644 index 00000000000..ca97aae9613 --- /dev/null +++ b/.changelog/5854.internal.md @@ -0,0 +1 @@ +Bump Go to 1.23.2 diff --git a/.github/workflows/ci-lint.yml b/.github/workflows/ci-lint.yml index 7b11f2a4231..f8516c46e0a 100644 --- a/.github/workflows/ci-lint.yml +++ b/.github/workflows/ci-lint.yml @@ -46,7 +46,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.22.2" + go-version: "1.23.2" - name: Set up Rust run: rustup show - name: Install dependencies diff --git a/.github/workflows/ci-reproducibility.yml b/.github/workflows/ci-reproducibility.yml index 9cfa24b087e..3c884d6b502 100644 --- a/.github/workflows/ci-reproducibility.yml +++ b/.github/workflows/ci-reproducibility.yml @@ -39,7 +39,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.22.2" + go-version: "1.23.2" - name: Set up Rust working-directory: build${{ matrix.build_number }} run: rustup show diff --git a/.github/workflows/release-dev.yml b/.github/workflows/release-dev.yml index e38dfaa74ad..13908b77fc1 100644 --- a/.github/workflows/release-dev.yml +++ b/.github/workflows/release-dev.yml @@ -35,7 +35,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.22.2" + go-version: "1.23.2" - name: Set up Rust run: rustup show - name: Install Oasis Node prerequisites diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c56644353e8..e240e9752ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.22.2" + go-version: "1.23.2" - name: Set up Rust run: rustup show diff --git a/docker/oasis-core-dev/Dockerfile b/docker/oasis-core-dev/Dockerfile index b3a046ba008..fb9a12062e8 100644 --- a/docker/oasis-core-dev/Dockerfile +++ b/docker/oasis-core-dev/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:22.04 # Package versions. -ARG GO_VERSION=1.22.2 +ARG GO_VERSION=1.23.2 ARG GO_NANCY_VERSION=1.0.33 ARG GO_NANCY_CHECKSUM=a4bf5290d41b095c04f941ed5380674770c79d59735e33b1bd07a5cd5fbb135d ARG GO_PROTOC_VERSION=3.6.1 diff --git a/docs/development-setup/prerequisites.md b/docs/development-setup/prerequisites.md index deda88abd08..1aec66ce1a9 100644 --- a/docs/development-setup/prerequisites.md +++ b/docs/development-setup/prerequisites.md @@ -40,7 +40,7 @@ Core: ``` -* [Go] (at least version 1.22.2). +* [Go] (at least version 1.23.2). If your distribution provides a new-enough version of Go, just use that. @@ -52,18 +52,18 @@ Core: * [ensure `$GOPATH/bin` is in your `PATH`]( https://tip.golang.org/doc/code.html#GOPATH), * [install the desired version of Go]( - https://golang.org/doc/install#extra_versions), e.g. 1.22.2, with: + https://golang.org/doc/install#extra_versions), e.g. 1.23.2, with: ``` - go install golang.org/dl/go1.22.2@latest - go1.22.2 download + go install golang.org/dl/go1.23.2@latest + go1.23.2 download ``` * instruct the build system to use this particular version of Go by setting the `OASIS_GO` environment variable in your `~/.bashrc`: ``` - export OASIS_GO=go1.22.2 + export OASIS_GO=go1.23.2 ``` * [Rust]. diff --git a/go/go.mod b/go/go.mod index 5bc876412ba..740f8b8a60c 100644 --- a/go/go.mod +++ b/go/go.mod @@ -214,4 +214,4 @@ require ( lukechampine.com/blake3 v1.3.0 // indirect ) -go 1.22.2 +go 1.23.2 diff --git a/tests/upgrade/post/go.mod b/tests/upgrade/post/go.mod index 84f81a5794b..572f0f75874 100644 --- a/tests/upgrade/post/go.mod +++ b/tests/upgrade/post/go.mod @@ -1,6 +1,6 @@ module github.com/oasisprotocol/oasis-core/test-upgrade -go 1.22.2 +go 1.23.2 replace ( github.com/cometbft/cometbft => github.com/oasisprotocol/cometbft v0.37.2-oasis1