Skip to content

Commit

Permalink
Update go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhu committed Aug 28, 2023
1 parent 3f14b65 commit e5208c4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
sqlite:
strategy:
matrix:
go: ['1.19']
go: ['1.21']
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}

Expand All @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand Down
27 changes: 20 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e5208c4

Please sign in to comment.