Skip to content

Commit a5202c1

Browse files
authored
Update to go version 1.19, as 1.16 is EOL (#373)
* Update to go version 1.19, as 1.16 is EOL The current version of the driver is 1.16 which went EOL Feb 2021 This upgrades to 1.19 and also configures CI to retrospectively test back to 1.18 (1.17 is EOL). This will give test coverage for all actively supported go versions. * Also update readme go version
1 parent ccd413d commit a5202c1

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

.github/workflows/go-driver.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
go-version: [ '1.18', '1.19' ]
1417
defaults:
1518
run:
1619
working-directory: drivers/golang/age/
@@ -24,7 +27,7 @@ jobs:
2427
- name: Set up Go
2528
uses: actions/setup-go@v3
2629
with:
27-
go-version: 1.16
30+
go-version: ${{ matrix.go-version }}
2831

2932
- name: Build
3033
run: go build -v ./...

drivers/golang/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ AGType parser and driver support for [Apache AGE](https://age.apache.org/), grap
77
* Cypher query support for 3rd. Party sql driver (enables to use cypher queries directly)
88

99
### Prerequisites
10-
* over Go 1.16
10+
* over Go 1.18 / 1.19
1111
* This module runs on golang standard api [database/sql](https://golang.org/pkg/database/sql/) and [antlr4-python3](https://github.com/antlr/antlr4/tree/master/runtime/Go/antlr)
1212

1313

drivers/golang/go.mod

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,16 @@
1919

2020
module github.com/apache/age/drivers/golang
2121

22-
go 1.16
22+
go 1.19
2323

2424
require (
2525
github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20210521184019-c5ad59b459ec
2626
github.com/lib/pq v1.10.2
2727
github.com/stretchr/testify v1.7.0
2828
)
29+
30+
require (
31+
github.com/davecgh/go-spew v1.1.0 // indirect
32+
github.com/pmezard/go-difflib v1.0.0 // indirect
33+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
34+
)

drivers/golang/go.sum

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
99
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
1010
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
1111
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
12+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
1213
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
1314
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
1415
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)