give-up support of go1.17

This commit is contained in:
glebarez
2023-02-01 11:50:39 +07:00
parent a96e5c4812
commit 30c68683e7
5 changed files with 17 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ jobs:
path: .
- name: Prepare badge data
working-directory: Linux-1.17-tests.out
working-directory: Linux-1.19-tests.out
run: |
echo "tests_passed=$(cat ./*.out | grep PASS | wc -l)" >> $GITHUB_ENV
echo "tests_skipped=$(cat ./*.out | grep SKIP | wc -l)" >> $GITHUB_ENV

View File

@@ -12,7 +12,7 @@ jobs:
test:
strategy:
matrix:
go: ['1.19','1.18','1.17']
go: ['1.19','1.18']
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}

View File

@@ -13,7 +13,7 @@ jobs:
gorm-test:
strategy:
matrix:
go: ['1.19','1.18','1.17']
go: ['1.19','1.18']
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}

View File

@@ -40,7 +40,6 @@ The [standard GORM driver for SQLite](https://github.com/go-gorm/sqlite) has one
## Is this tested good ?
Yes, The CI pipeline of this driver employs [whole test base](https://github.com/go-gorm/gorm/tree/master/tests) of GORM, which includes more than **12k** tests (see badge on the page-top). Testing is run against latest major releases of Go:
- 1.17
- 1.18
- 1.19

16
go.mod
View File

@@ -1,9 +1,21 @@
module github.com/glebarez/sqlite
go 1.16
go 1.18
require (
github.com/glebarez/go-sqlite v1.20.0
github.com/jinzhu/now v1.1.5 // indirect
gorm.io/gorm v1.24.2
)
require (
github.com/google/uuid v1.3.0 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
github.com/mattn/go-isatty v0.0.16 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 // indirect
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab // indirect
modernc.org/libc v1.21.5 // indirect
modernc.org/mathutil v1.5.0 // indirect
modernc.org/memory v1.4.0 // indirect
modernc.org/sqlite v1.20.0 // indirect
)