Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changelog/6443.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
go: Bump Go to 1.25.5
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@v6
with:
go-version: ">=1.25.3"
go-version: ">=1.25.5"
- 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@v6
with:
go-version: ">=1.25.3"
go-version: ">=1.25.5"
- 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@v6
with:
go-version: ">=1.25.3"
go-version: ">=1.25.5"
- 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@v6
with:
go-version: ">=1.25.3"
go-version: ">=1.25.5"

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

# Package versions.
ARG GO_VERSION=1.25.3
ARG GO_VERSION=1.25.5
ARG GO_NANCY_VERSION=1.0.33
ARG GO_NANCY_CHECKSUM=a4bf5290d41b095c04f941ed5380674770c79d59735e33b1bd07a5cd5fbb135d
ARG GO_PROTOC_VERSION=3.6.1
ARG GO_PROTOC_GEN_GO_VERSION=1.21.0
ARG GOLANGCILINT_VERSION=2.6.0
ARG GOLANGCILINT_VERSION=2.8.0
ARG GOCOVMERGE_VERSION=b5bfa59ec0adc420475f97f89b58045c721d761c
ARG GOFUMPT_VERSION=v0.8.0
ARG GOIMPORTS_VERSION=v0.36.0
Expand Down
12 changes: 6 additions & 6 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.25.3).
* [Go] (at least version 1.25.5).

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.25.3, with:
https://golang.org/doc/install#extra_versions), e.g. 1.25.5, with:

```
go install golang.org/dl/go1.25.3@latest
go1.25.3 download
go install golang.org/dl/go1.25.5@latest
go1.25.5 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.25.3
export OASIS_GO=go1.25.5
```

* [Rust].
Expand Down Expand Up @@ -151,7 +151,7 @@ Core:
```
curl -sSfL \
https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh \
| sh -s -- -b $(${OASIS_GO:-go} env GOPATH)/bin v2.6.0
| sh -s -- -b $(${OASIS_GO:-go} env GOPATH)/bin v2.8.0
```

* (**OPTIONAL**) [protoc-gen-go].
Expand Down
4 changes: 2 additions & 2 deletions go/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/oasisprotocol/oasis-core/go

go 1.25.5

replace (
github.com/cometbft/cometbft => github.com/oasisprotocol/cometbft v0.37.16-oasis1

Expand Down Expand Up @@ -205,5 +207,3 @@ require (
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
lukechampine.com/blake3 v1.4.1 // indirect
)

go 1.25.3
2 changes: 1 addition & 1 deletion tests/upgrade/post/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/oasisprotocol/oasis-core/test-upgrade

go 1.25.3
go 1.25.5

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