Skip to content

Commit

Permalink
Bump Go to 1.22
Browse files Browse the repository at this point in the history
Also update go.mod files to use toolchain compatible full version.

Signed-off-by: David Enyeart <[email protected]>
  • Loading branch information
denyeart committed Jul 3, 2024
1 parent 4aa17f3 commit 985ea46
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
- name: install Tools
working-directory: ci/tools
run: |
Expand All @@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
- name: Staticcheck
run: make staticcheck
- name: golangci-lint
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-chaincode-go

go 1.21
go 1.22.0

require (
github.com/golang/protobuf v1.5.4
Expand Down
2 changes: 1 addition & 1 deletion v2/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/hyperledger/fabric-chaincode-go/v2

go 1.21
go 1.22.0

require (
github.com/hyperledger/fabric-protos-go-apiv2 v0.3.3
Expand Down

0 comments on commit 985ea46

Please sign in to comment.