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 967edf7 [CALCITE-5854] Test against Go 1.19 and 1.20
967edf7 is described below
commit 967edf7cd0d3bc60e4c2fb7f166eaeaf2f144c72
Author: Francis Chuang <[email protected]>
AuthorDate: Mon Jul 17 14:43:00 2023 +1000
[CALCITE-5854] Test against Go 1.19 and 1.20
---
.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 1310f92..9f5b089 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- go_version: [1.18, 1.19]
+ go_version: [1.19, 1.20]
database:
- [phoenix, 1.3-4.13]
- [phoenix, 1.4-4.14]
diff --git a/docker-compose.yml b/docker-compose.yml
index fe923ea..ed1894e 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.19}
+ image: golang:${GO_VERSION:-1.20}
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.19}
+ image: golang:${GO_VERSION:-1.20}
command: go test -v ./...
working_dir: /source
environment:
@@ -50,7 +50,7 @@ services:
- phoenix
test-hsqldb:
- image: golang:${GO_VERSION:-1.19}
+ image: golang:${GO_VERSION:-1.20}
command: go test -v ./...
working_dir: /source
environment:
@@ -100,7 +100,7 @@ services:
- .:/source
compile-protobuf:
- image: golang:1.19
+ image: golang:1.20
working_dir: /source
command: sh -c "./docker.sh compile-protobuf"
environment: