From ee3b549d7dbdaad6610d80726093ada0c0ca90c1 Mon Sep 17 00:00:00 2001 From: Jinzhu Date: Sun, 9 Mar 2025 15:35:17 +0800 Subject: [PATCH] Update tests script --- .github/workflows/tests.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 24eab55a..f59f2fae 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 }}