diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0bf3d8f2..e3ea1970 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: sqlite: strategy: matrix: - go: ['1.19'] + go: ['1.21'] platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} @@ -39,7 +39,7 @@ jobs: strategy: matrix: dbversion: ['mysql:latest'] # 'mysql:5.7', 'mysql:5.6' - go: ['1.19'] + go: ['1.21'] platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} @@ -83,7 +83,7 @@ jobs: strategy: matrix: dbversion: ['postgres:latest'] # 'postgres:11', 'postgres:10' - go: ['1.19'] + go: ['1.21'] platform: [ubuntu-latest] # can not run in macOS and widnowsOS runs-on: ${{ matrix.platform }} @@ -126,7 +126,7 @@ jobs: needs: sqlite strategy: matrix: - go: ['1.19'] + go: ['1.21'] platform: [ubuntu-latest] # can not run test in macOS and windows runs-on: ${{ matrix.platform }} diff --git a/go.mod b/go.mod index 78baff45..27e9ef2f 100644 --- a/go.mod +++ b/go.mod @@ -1,15 +1,28 @@ module gorm.io/playground -go 1.16 +go 1.20 require ( - github.com/denisenkom/go-mssqldb v0.12.2 // indirect + gorm.io/driver/mysql v1.5.1 + gorm.io/driver/postgres v1.5.2 + gorm.io/driver/sqlite v1.5.3 + gorm.io/driver/sqlserver v1.5.1 + gorm.io/gorm v1.25.4 +) + +require ( + github.com/go-sql-driver/mysql v1.7.1 // indirect github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect - gorm.io/driver/mysql v1.4.1 - gorm.io/driver/postgres v1.4.4 - gorm.io/driver/sqlite v1.4.2 - gorm.io/driver/sqlserver v1.4.1 - gorm.io/gorm v1.24.0 + github.com/golang-sql/sqlexp v0.1.0 // indirect + github.com/jackc/pgpassfile v1.0.0 // indirect + github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect + github.com/jackc/pgx/v5 v5.4.3 // indirect + github.com/jinzhu/inflection v1.0.0 // indirect + github.com/jinzhu/now v1.1.5 // indirect + github.com/mattn/go-sqlite3 v1.14.17 // indirect + github.com/microsoft/go-mssqldb v1.5.0 // indirect + golang.org/x/crypto v0.12.0 // indirect + golang.org/x/text v0.12.0 // indirect ) replace gorm.io/gorm => ./gorm