Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent Go version in go.mod and go.work files #1260

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

bestbeforetoday
Copy link
Member

The repository currently uses Go 1.22 to test samples in the automated build. This change sets the Go version in all go.mod (and go.work) files to Go 1.22.0, and removes any Go toolchain entries.

For reference, the following commands were used to perform updates:

for go_mod_dir in $(find "$(pwd)" -type f -name go.mod -exec dirname {} \;); do echo "${go_mod_dir}"; ( cd "${go_mod_dir}" && go get go@1.22.0 toolchain@none ); done
for go_work_dir in $(find "$(pwd)" -type f -name go.work -exec dirname {} \;); do echo "${go_work_dir}"; ( cd "${go_work_dir}" && go work edit -toolchain=none ); done

The repository currently uses Go 1.22 to test samples in the automated
build. This change sets the Go version in all go.mod (and go.work) files
to Go 1.22.0, and removes any Go toolchain entries.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
@bestbeforetoday bestbeforetoday marked this pull request as ready for review October 14, 2024 11:18
@bestbeforetoday bestbeforetoday requested a review from a team as a code owner October 14, 2024 11:18
@denyeart denyeart merged commit f16e9e6 into hyperledger:main Oct 14, 2024
38 checks passed
@bestbeforetoday bestbeforetoday deleted the go-version branch October 14, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants