Update go testing versions

This commit is contained in:
Jinzhu 2023-08-24 20:19:29 +08:00
parent ac07543962
commit 653732e1c3
1 changed files with 6 additions and 6 deletions

View File

@ -16,7 +16,7 @@ jobs:
sqlite: sqlite:
strategy: strategy:
matrix: matrix:
go: ['1.19', '1.18'] go: ['1.21', '1.20', '1.19']
platform: [ubuntu-latest] # can not run in windows OS platform: [ubuntu-latest] # can not run in windows OS
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
@ -42,7 +42,7 @@ jobs:
strategy: strategy:
matrix: matrix:
dbversion: ['mysql:latest', 'mysql:5.7'] dbversion: ['mysql:latest', 'mysql:5.7']
go: ['1.19', '1.18'] go: ['1.21', '1.20', '1.19']
platform: [ubuntu-latest] platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
@ -85,7 +85,7 @@ jobs:
strategy: strategy:
matrix: matrix:
dbversion: [ 'mariadb:latest' ] dbversion: [ 'mariadb:latest' ]
go: [ '1.19', '1.18' ] go: ['1.21', '1.20', '1.19']
platform: [ ubuntu-latest ] platform: [ ubuntu-latest ]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
@ -128,7 +128,7 @@ jobs:
strategy: strategy:
matrix: matrix:
dbversion: ['postgres:latest', 'postgres:13', 'postgres:12', 'postgres:11', 'postgres:10'] dbversion: ['postgres:latest', 'postgres:13', 'postgres:12', 'postgres:11', 'postgres:10']
go: ['1.19', '1.18'] go: ['1.21', '1.20', '1.19']
platform: [ubuntu-latest] # can not run in macOS and Windows platform: [ubuntu-latest] # can not run in macOS and Windows
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
@ -170,7 +170,7 @@ jobs:
sqlserver: sqlserver:
strategy: strategy:
matrix: matrix:
go: ['1.19', '1.18'] go: ['1.21', '1.20', '1.19']
platform: [ubuntu-latest] # can not run test in macOS and windows platform: [ubuntu-latest] # can not run test in macOS and windows
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
@ -214,7 +214,7 @@ jobs:
strategy: strategy:
matrix: matrix:
dbversion: [ 'v6.5.0' ] dbversion: [ 'v6.5.0' ]
go: [ '1.19', '1.18' ] go: ['1.21', '1.20', '1.19']
platform: [ ubuntu-latest ] platform: [ ubuntu-latest ]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}