Skip to content

Commit

Permalink
Update supported Go language versions to include 1.20.0
Browse files Browse the repository at this point in the history
Signed-off-by: avifenesh <[email protected]>
  • Loading branch information
avifenesh committed Nov 22, 2024
1 parent fb8e033 commit 436145f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/json_matrices/supported-languages-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
]
8 changes: 4 additions & 4 deletions go/DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
```
Expand Down
6 changes: 3 additions & 3 deletions go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ install-build-tools:
go install google.golang.org/protobuf/cmd/[email protected]
cargo install cbindgen

install-dev-tools-go1.18:
install-dev-tools-go1.20:
go install github.com/vakenbolt/[email protected]
go install mvdan.cc/[email protected]
go install github.com/segmentio/[email protected]
go install honnef.co/go/tools/cmd/[email protected]

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/[email protected]
Expand All @@ -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

Expand Down
8 changes: 4 additions & 4 deletions go/benchmarks/go.mod
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
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 => ../

require (
github.com/valkey-io/valkey-glide/go/glide v0.0.0
github.com/redis/go-redis/v9 v9.5.1
github.com/redis/go-redis/v9 v9.7.0
)

require (
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
google.golang.org/protobuf v1.33.0 // indirect
google.golang.org/protobuf v1.35.2 // indirect
)

0 comments on commit 436145f

Please sign in to comment.