Skip to content

Commit

Permalink
Bump Go to 1.23.1.
Browse files Browse the repository at this point in the history
Also update go.mod to use three digit version to indicate toolchain version (most Go projects have switched to this approach at this point).

Signed-off-by: David Enyeart <enyeart@us.ibm.com>
  • Loading branch information
denyeart authored and satota2 committed Sep 10, 2024
1 parent 52a8ba8 commit 3e5ab9e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
tags: [ v2.* ]

env:
GO_VER: 1.22.5
GO_VER: 1.23.1
UBUNTU_VER: 20.04
FABRIC_VER: ${{ github.ref_name }}
DOCKER_REGISTRY: ${{ github.repository_owner == 'hyperledger' && 'docker.io' || 'ghcr.io' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
env:
GOPATH: /opt/go
PATH: /opt/go/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
GO_VER: 1.22.5
GO_VER: 1.23.1

jobs:
basic-checks:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ METADATA_VAR += CommitSHA=$(EXTRA_VERSION)
METADATA_VAR += BaseDockerLabel=$(BASE_DOCKER_LABEL)
METADATA_VAR += DockerNamespace=$(DOCKER_NS)

GO_VER = 1.22.5
GO_VER = 1.23.1
GO_TAGS ?=

RELEASE_EXES = orderer $(TOOLS_EXES)
Expand Down
4 changes: 2 additions & 2 deletions docs/source/prereqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ Optional: Install the latest Fabric supported version of [Go](https://golang.org
installed (only required if you will be writing Go chaincode or SDK applications).

```shell
$ brew install go@1.22.5
$ brew install go@1.23.1
$ go version
go1.22.5 darwin/amd64
go1.23.1 darwin/amd64
```

### JQ
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/hyperledger/fabric

go 1.22
go 1.23.1

require (
code.cloudfoundry.org/clock v1.0.0
Expand Down
2 changes: 1 addition & 1 deletion vagrant/golang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# SPDX-License-Identifier: Apache-2.0

GOROOT='/opt/go'
GO_VERSION=1.22.5
GO_VERSION=1.23.1

# ----------------------------------------------------------------
# Install Golang
Expand Down

0 comments on commit 3e5ab9e

Please sign in to comment.