From 0e75c6b0f4e675858296b0b175b4419116a6e2f7 Mon Sep 17 00:00:00 2001 From: Thomas Jay Rush Date: Fri, 13 Dec 2024 14:59:46 -0500 Subject: [PATCH] Updates GoLang to 1.23 --- .github/workflows/build-and-test.yml | 2 +- .github/workflows/golangci-lint.yml | 2 +- docs | 2 +- examples | 2 +- node | 2 +- scripts/Dockerfile | 2 +- scripts/go-work-sync.sh | 2 +- sdk | 2 +- src/CMakeLists.txt | 4 ++-- src/apps/chifra/go.mod | 2 +- src/dev_tools/goMaker/go.mod | 2 +- src/dev_tools/indexManager/go.mod | 2 +- src/dev_tools/sdkFuzzer/go.mod | 2 +- src/dev_tools/testRunner/go.mod | 2 +- 14 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index e24dded0cd..abbcea0e48 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -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 diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 7e378c81f6..fed746688a 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -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 diff --git a/docs b/docs index 96e7a823e1..1aa6343df5 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 96e7a823e18b56ac2a40a49a963ae255b4d98999 +Subproject commit 1aa6343df572fd6ee049e30ddf4337046691dd4c diff --git a/examples b/examples index 818c0a5340..39ff54ebde 160000 --- a/examples +++ b/examples @@ -1 +1 @@ -Subproject commit 818c0a534087ddc9fba98a8fe229ebddbb3e7590 +Subproject commit 39ff54ebde3ef22690c21cebd3312419f21d8e97 diff --git a/node b/node index 02a17d9263..9e37c8bba6 160000 --- a/node +++ b/node @@ -1 +1 @@ -Subproject commit 02a17d9263dc02e554d399a70ed47b6a4cef78d8 +Subproject commit 9e37c8bba6c9c348ca30454dc6e61017878d4d50 diff --git a/scripts/Dockerfile b/scripts/Dockerfile index 3cdbb8e2c2..b5d34c6c4e 100644 --- a/scripts/Dockerfile +++ b/scripts/Dockerfile @@ -1,5 +1,5 @@ # Go Version -FROM golang:1.22.0-bullseye +FROM golang:1.23.0-bullseye ARG repo ARG commit_sha diff --git a/scripts/go-work-sync.sh b/scripts/go-work-sync.sh index d278682a1d..57f1ec65ee 100755 --- a/scripts/go-work-sync.sh +++ b/scripts/go-work-sync.sh @@ -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 #------------------------------------------------ diff --git a/sdk b/sdk index d4a996805d..3782f77fcf 160000 --- a/sdk +++ b/sdk @@ -1 +1 @@ -Subproject commit d4a996805db855366f1028e31efe358a44b28ea3 +Subproject commit 3782f77fcf9577bdacd99a86df32f4190a559795 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 20829d095d..9f189377d6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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() diff --git a/src/apps/chifra/go.mod b/src/apps/chifra/go.mod index 7a499c45a9..8b1b8d2e6d 100644 --- a/src/apps/chifra/go.mod +++ b/src/apps/chifra/go.mod @@ -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 diff --git a/src/dev_tools/goMaker/go.mod b/src/dev_tools/goMaker/go.mod index 5a8e35e6fd..a25d49c676 100644 --- a/src/dev_tools/goMaker/go.mod +++ b/src/dev_tools/goMaker/go.mod @@ -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 diff --git a/src/dev_tools/indexManager/go.mod b/src/dev_tools/indexManager/go.mod index d1c670bc70..5d5e19d44e 100644 --- a/src/dev_tools/indexManager/go.mod +++ b/src/dev_tools/indexManager/go.mod @@ -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 diff --git a/src/dev_tools/sdkFuzzer/go.mod b/src/dev_tools/sdkFuzzer/go.mod index 33fb6a2ed5..c85d07abb3 100644 --- a/src/dev_tools/sdkFuzzer/go.mod +++ b/src/dev_tools/sdkFuzzer/go.mod @@ -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 diff --git a/src/dev_tools/testRunner/go.mod b/src/dev_tools/testRunner/go.mod index b0e68a2fe8..8c4b7c5d81 100644 --- a/src/dev_tools/testRunner/go.mod +++ b/src/dev_tools/testRunner/go.mod @@ -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