Skip to content

Commit

Permalink
Updates GoLang to 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
tjayrush committed Dec 13, 2024
1 parent 9e03302 commit 0e75c6b
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [pull_request, workflow_dispatch]
env:
CHIFRA_PATH: src/apps/chifra
# Go Version
GO_VERSION: 1.22
GO_VERSION: 1.23
jobs:
Lint:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/setup-go@v5
with:
# Go Version
go-version: 1.22
go-version: 1.23
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
2 changes: 1 addition & 1 deletion docs
2 changes: 1 addition & 1 deletion node
Submodule node updated 1 files
+1 −1 go.mod
2 changes: 1 addition & 1 deletion scripts/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Go Version
FROM golang:1.22.0-bullseye
FROM golang:1.23.0-bullseye

ARG repo
ARG commit_sha
Expand Down
2 changes: 1 addition & 1 deletion scripts/go-work-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ GO_WORK_FILE="go.work"
rm -f "$GO_WORK_FILE"
if [ ! -f "$GO_WORK_FILE" ]; then
echo "// Go Version" > "$GO_WORK_FILE"
echo "go 1.22" >> "$GO_WORK_FILE"
echo "go 1.23" >> "$GO_WORK_FILE"
fi

#------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion sdk
Submodule sdk updated 1 files
+1 −1 go.mod
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ endif()
set(GO_MAJOR_VERSION ${CMAKE_MATCH_1})
set(GO_MINOR_VERSION ${CMAKE_MATCH_2})
# Go Version
if (GO_MAJOR_VERSION LESS 1 OR (GO_MAJOR_VERSION EQUAL 1 AND GO_MINOR_VERSION LESS 22))
if (GO_MAJOR_VERSION LESS 1 OR (GO_MAJOR_VERSION EQUAL 1 AND GO_MINOR_VERSION LESS 23))
message(STATUS "${CColor}The build failed.${COff}")
message(STATUS "${CColor}Found ${GO_VERSION_OUTPUT}. Go Version 1.22 or higher is required.${COff}")
message(STATUS "${CColor}Found ${GO_VERSION_OUTPUT}. Go Version 1.23 or higher is required.${COff}")
message(STATUS "${CColor}Please install or update Go from https://golang.org/doc/install.${COff}")
return()
else()
Expand Down
2 changes: 1 addition & 1 deletion src/apps/chifra/go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/TrueBlocks/trueblocks-core/src/apps/chifra

// Go Version
go 1.22
go 1.23

require (
github.com/alecthomas/participle/v2 v2.0.0
Expand Down
2 changes: 1 addition & 1 deletion src/dev_tools/goMaker/go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/TrueBlocks/trueblocks-core/goMaker

// Go Version
go 1.22
go 1.23

require (
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241103193928-2a3d9f89af63
Expand Down
2 changes: 1 addition & 1 deletion src/dev_tools/indexManager/go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/TrueBlocks/trueblocks-core/indexManager

// Go Version
go 1.22
go 1.23

replace github.com/TrueBlocks/trueblocks-core/sdk => ../../../sdk

Expand Down
2 changes: 1 addition & 1 deletion src/dev_tools/sdkFuzzer/go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/TrueBlocks/trueblocks-core/sdkFuzzer

// Go Version
go 1.22
go 1.23

require (
github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20241103193928-2a3d9f89af63
Expand Down
2 changes: 1 addition & 1 deletion src/dev_tools/testRunner/go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/TrueBlocks/trueblocks-core/testRunner

// Go Version
go 1.22
go 1.23

replace github.com/TrueBlocks/trueblocks-core/sdk => ../../../sdk

Expand Down

0 comments on commit 0e75c6b

Please sign in to comment.