diff --git a/.github/json_matrices/supported-languages-versions.json b/.github/json_matrices/supported-languages-versions.json index 8b22e7b090..0685ecf0ea 100644 --- a/.github/json_matrices/supported-languages-versions.json +++ b/.github/json_matrices/supported-languages-versions.json @@ -21,7 +21,7 @@ }, { "language": "go", - "versions": ["1.22.0", "1.18.10"], - "always-run-versions": ["1.22.0", "1.18.10"] + "versions": ["1.22.0", "1.20.0"], + "always-run-versions": ["1.22.0", "1.20.0"] } ] diff --git a/go/DEVELOPER.md b/go/DEVELOPER.md index 023828a0cf..a1d81f79e6 100644 --- a/go/DEVELOPER.md +++ b/go/DEVELOPER.md @@ -134,8 +134,8 @@ Before starting this step, make sure you've installed all software requirements. ```bash # For go1.22: make install-dev-tools - # For go1.18: - make install-dev-tools-go1.18 + # For go1.20: + make install-dev-tools-go1.20 ``` ### Test @@ -201,8 +201,8 @@ Run from the main `/go` folder ```bash # For go1.22: make install-dev-tools - # For go1.18: - make install-dev-tools-go1.18 + # For go1.22: + make install-dev-tools-go1.22 make lint ``` diff --git a/go/Makefile b/go/Makefile index e240900696..3d496e3881 100644 --- a/go/Makefile +++ b/go/Makefile @@ -2,13 +2,13 @@ install-build-tools: go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.33.0 cargo install cbindgen -install-dev-tools-go1.18: +install-dev-tools-go1.20: go install github.com/vakenbolt/go-test-report@v0.9.3 go install mvdan.cc/gofumpt@v0.4.0 go install github.com/segmentio/golines@v0.11.0 go install honnef.co/go/tools/cmd/staticcheck@v0.3.3 -install-dev-tools-go1.18.10: install-dev-tools-go1.18 +install-dev-tools-go1.20.0: install-dev-tools-go1.20 install-dev-tools-go1.22: go install github.com/vakenbolt/go-test-report@v0.9.3 @@ -20,7 +20,7 @@ install-dev-tools-go1.22.0: install-dev-tools-go1.22 install-dev-tools: install-dev-tools-go1.22.0 -install-tools-go1.18.10: install-build-tools install-dev-tools-go1.18.10 +install-tools-go1.20.0: install-build-tools install-dev-tools-go1.20.0 install-tools-go1.22.0: install-build-tools install-dev-tools-go1.22.0 diff --git a/go/benchmarks/go.mod b/go/benchmarks/go.mod index 93dc587fb3..1bd693ce6b 100644 --- a/go/benchmarks/go.mod +++ b/go/benchmarks/go.mod @@ -1,6 +1,6 @@ module github.com/valkey-io/valkey-glide/go/glide/benchmarks -go 1.18 +go 1.20 replace github.com/valkey-io/valkey-glide/go/glide => ../