Skip to content

Commit

Permalink
Merge pull request #5586 from oasisprotocol/ptrus/feature/go-1.22.1
Browse files Browse the repository at this point in the history
go: Bump go to 1.22.1
  • Loading branch information
ptrus authored Mar 6, 2024
2 parents 42fc283 + 3ad2b1a commit dc8256d
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 14 deletions.
1 change: 1 addition & 0 deletions .changelog/5586.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
go: Update go to 1.22.1
2 changes: 1 addition & 1 deletion .github/workflows/ci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.22.1"
- name: Set up Rust
run: rustup show
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-reproducibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.22.1"
- name: Set up Rust
working-directory: build${{ matrix.build_number }}
run: rustup show
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.22.1"
- name: Set up Rust
run: rustup show
- name: Install Oasis Node prerequisites
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.22.1"

- name: Set up Rust
run: rustup show
Expand Down
2 changes: 1 addition & 1 deletion docker/oasis-core-dev/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ubuntu:22.04

# Package versions.
ARG GO_VERSION=1.22.0
ARG GO_VERSION=1.22.1
ARG GO_NANCY_VERSION=1.0.33
ARG GO_NANCY_CHECKSUM=a4bf5290d41b095c04f941ed5380674770c79d59735e33b1bd07a5cd5fbb135d
ARG GO_PROTOC_VERSION=3.6.1
Expand Down
10 changes: 5 additions & 5 deletions docs/development-setup/prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Core:
```
<!-- markdownlint-enable line-length -->

* [Go] (at least version 1.22.0).
* [Go] (at least version 1.22.1).

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

Expand All @@ -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.0, with:
https://golang.org/doc/install#extra_versions), e.g. 1.22.1, with:

```
go install golang.org/dl/go1.22.0@latest
go1.22.0 download
go install golang.org/dl/go1.22.1@latest
go1.22.1 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.0
export OASIS_GO=go1.22.1
```
* [Rust].
Expand Down
2 changes: 1 addition & 1 deletion go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -193,4 +193,4 @@ require (
lukechampine.com/blake3 v1.2.1 // indirect
)

go 1.22
go 1.22.1
4 changes: 1 addition & 3 deletions tests/upgrade/post/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/oasisprotocol/oasis-core/test-upgrade

go 1.22

toolchain go1.22.0
go 1.22.1

replace (
github.com/cometbft/cometbft => github.com/oasisprotocol/cometbft v0.37.2-oasis1
Expand Down

0 comments on commit dc8256d

Please sign in to comment.