Update tests script

This commit is contained in:
Jinzhu
2025-03-09 15:35:17 +08:00
parent 9f273777f5
commit ee3b549d7d

View File

@ -16,7 +16,7 @@ jobs:
sqlite:
strategy:
matrix:
go: ['1.22', '1.21', '1.20']
go: ['1.23', '1.24']
platform: [ubuntu-latest] # can not run in windows OS
runs-on: ${{ matrix.platform }}
@ -42,7 +42,7 @@ jobs:
strategy:
matrix:
dbversion: ['mysql/mysql-server:latest', 'mysql:5.7']
go: ['1.22', '1.21', '1.20']
go: ['1.23', '1.24']
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
@ -85,7 +85,7 @@ jobs:
strategy:
matrix:
dbversion: [ 'mariadb:latest' ]
go: ['1.22', '1.21', '1.20']
go: ['1.23', '1.24']
platform: [ ubuntu-latest ]
runs-on: ${{ matrix.platform }}
@ -128,7 +128,7 @@ jobs:
strategy:
matrix:
dbversion: ['postgres:latest', 'postgres:15', 'postgres:14', 'postgres:13']
go: ['1.22', '1.21', '1.20']
go: ['1.23', '1.24']
platform: [ubuntu-latest] # can not run in macOS and Windows
runs-on: ${{ matrix.platform }}
@ -170,7 +170,7 @@ jobs:
sqlserver:
strategy:
matrix:
go: ['1.22', '1.21', '1.20']
go: ['1.23', '1.24']
platform: [ubuntu-latest] # can not run test in macOS and windows
runs-on: ${{ matrix.platform }}
@ -212,7 +212,7 @@ jobs:
strategy:
matrix:
dbversion: [ 'v6.5.0' ]
go: ['1.22', '1.21', '1.20']
go: ['1.23', '1.24']
platform: [ ubuntu-latest ]
runs-on: ${{ matrix.platform }}