diff --git a/.changelog/5626.feature.md b/.changelog/5626.feature.md new file mode 100644 index 00000000000..05215793680 --- /dev/null +++ b/.changelog/5626.feature.md @@ -0,0 +1 @@ +go: Update go to 1.22.2 diff --git a/.github/workflows/ci-lint.yml b/.github/workflows/ci-lint.yml index b068cc7e06c..7b11f2a4231 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.1" + go-version: "1.22.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 ef87d951e47..342f966c1d7 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.1" + go-version: "1.22.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 51fccbae238..b592697bb97 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.1" + go-version: "1.22.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 b7df0f87d9a..c56644353e8 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.1" + go-version: "1.22.2" - name: Set up Rust run: rustup show diff --git a/docker/oasis-core-dev/Dockerfile b/docker/oasis-core-dev/Dockerfile index f081d139b1a..8259f90e21e 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.1 +ARG GO_VERSION=1.22.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 3fad57348a0..deda88abd08 100644 --- a/docs/development-setup/prerequisites.md +++ b/docs/development-setup/prerequisites.md @@ -40,7 +40,7 @@ Core: ``` -* [Go] (at least version 1.22.1). +* [Go] (at least version 1.22.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.1, with: + https://golang.org/doc/install#extra_versions), e.g. 1.22.2, with: ``` - go install golang.org/dl/go1.22.1@latest - go1.22.1 download + go install golang.org/dl/go1.22.2@latest + go1.22.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.1 + export OASIS_GO=go1.22.2 ``` * [Rust]. diff --git a/go/go.mod b/go/go.mod index 6d41af8b4ec..a68bf091256 100644 --- a/go/go.mod +++ b/go/go.mod @@ -194,4 +194,4 @@ require ( lukechampine.com/blake3 v1.2.2 // indirect ) -go 1.22.1 +go 1.22.2 diff --git a/tests/upgrade/post/go.mod b/tests/upgrade/post/go.mod index 4a9ee4c6c6d..84f81a5794b 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.1 +go 1.22.2 replace ( github.com/cometbft/cometbft => github.com/oasisprotocol/cometbft v0.37.2-oasis1