From af233e4d3bfc1707b136a172ead8e66e3abe0d0b Mon Sep 17 00:00:00 2001 From: Omkar P <45419097+omkar-foss@users.noreply.github.com> Date: Wed, 25 Sep 2024 13:11:10 +0530 Subject: [PATCH] Check with 2022-latest image tag and ubuntu-latest platform --- .github/workflows/tests.yml | 4 ++-- tests/compose.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 800b9d6e..8763d881 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -171,12 +171,12 @@ jobs: strategy: matrix: go: ['1.22', '1.21', '1.20'] - platform: [ubuntu-20.04] # can not run test in macOS and windows + platform: [ubuntu-latest] # can not run test in macOS and windows runs-on: ${{ matrix.platform }} services: mssql: - image: mcr.microsoft.com/mssql/server:2019-CU18-ubuntu-20.04 + image: mcr.microsoft.com/mssql/server:2022-latest env: TZ: Asia/Shanghai ACCEPT_EULA: Y diff --git a/tests/compose.yml b/tests/compose.yml index d1c4761c..e481f815 100644 --- a/tests/compose.yml +++ b/tests/compose.yml @@ -18,7 +18,7 @@ services: - POSTGRES_USER=gorm - POSTGRES_PASSWORD=gorm mssql: - image: '${MSSQL_IMAGE}:2019-CU18-ubuntu-20.04' + image: '${MSSQL_IMAGE}:2022-latest' ports: - "127.0.0.1:9930:1433" environment: