temporary fix ci

This commit is contained in:
black 2024-02-05 16:37:17 +08:00
parent 46816ad31d
commit 55a76abada
2 changed files with 6 additions and 4 deletions

View File

@ -3,14 +3,14 @@ module gorm.io/gorm/tests
go 1.18 go 1.18
require ( require (
github.com/google/uuid v1.5.0 github.com/google/uuid v1.6.0
github.com/jinzhu/now v1.1.5 github.com/jinzhu/now v1.1.5
github.com/lib/pq v1.10.9 github.com/lib/pq v1.10.9
gorm.io/driver/mysql v1.5.2 gorm.io/driver/mysql v1.5.2
gorm.io/driver/postgres v1.5.4 gorm.io/driver/postgres v1.5.4
gorm.io/driver/sqlite v1.5.4 gorm.io/driver/sqlite v1.5.4
gorm.io/driver/sqlserver v1.5.2 gorm.io/driver/sqlserver v1.5.2
gorm.io/gorm v1.25.5 gorm.io/gorm v1.25.6
) )
require ( require (
@ -19,9 +19,9 @@ require (
github.com/golang-sql/sqlexp v0.1.0 // indirect github.com/golang-sql/sqlexp v0.1.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9 // indirect github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9 // indirect
github.com/jackc/pgx/v5 v5.5.1 // indirect github.com/jackc/pgx/v5 v5.5.3 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/inflection v1.0.0 // indirect
github.com/mattn/go-sqlite3 v1.14.19 // indirect github.com/mattn/go-sqlite3 v1.14.22 // indirect
github.com/microsoft/go-mssqldb v1.6.0 // indirect github.com/microsoft/go-mssqldb v1.6.0 // indirect
golang.org/x/crypto v0.18.0 // indirect golang.org/x/crypto v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect golang.org/x/text v0.14.0 // indirect

View File

@ -10,6 +10,8 @@ if [ -d tests ]
then then
cd tests cd tests
go get -u -t ./... go get -u -t ./...
# Temporary, postgres v1.5.5 is a wrong tag. After we fix it, we'll remove this.
go get gorm.io/driver/postgres@v1.5.4
go mod download go mod download
go mod tidy go mod tidy
cd .. cd ..