This is an automated email from the ASF dual-hosted git repository.
francischuang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git
The following commit(s) were added to refs/heads/main by this push:
new f6a0c13 [CALCITE-6857] Upgrade to Go 1.23 and 1.24
f6a0c13 is described below
commit f6a0c134b35363a5b8a78079a87221455abf5794
Author: Francis Chuang <[email protected]>
AuthorDate: Wed Feb 26 08:16:53 2025 +1100
[CALCITE-6857] Upgrade to Go 1.23 and 1.24
---
.github/workflows/tests.yaml | 2 +-
docker-compose.yml | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index 0300842..2cad584 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- go_version: ["1.20", "1.21"]
+ go_version: ["1.23", "1.24"]
database:
- [phoenix, 1.3-4.13]
- [phoenix, 1.4-4.14]
diff --git a/docker-compose.yml b/docker-compose.yml
index 09bc0fb..d3be19d 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -23,7 +23,7 @@ services:
command: -u jdbc:hsqldb:mem:public
test:
- image: golang:${GO_VERSION:-1.21}
+ image: golang:${GO_VERSION:-1.24}
command: sh -c "export AVATICA_FLAVOR=HSQLDB && go test -v ./...; export
AVATICA_FLAVOR=PHOENIX && go test -v ./..."
working_dir: /source
environment:
@@ -37,7 +37,7 @@ services:
- hsqldb
test-phoenix:
- image: golang:${GO_VERSION:-1.21}
+ image: golang:${GO_VERSION:-1.24}
command: go test -v ./...
working_dir: /source
environment:
@@ -50,7 +50,7 @@ services:
- phoenix
test-hsqldb:
- image: golang:${GO_VERSION:-1.21}
+ image: golang:${GO_VERSION:-1.24}
command: go test -v ./...
working_dir: /source
environment:
@@ -100,7 +100,7 @@ services:
- .:/source
compile-protobuf:
- image: golang:1.21
+ image: golang:1.24
working_dir: /source
command: sh -c "./docker.sh compile-protobuf"
environment: