From 0c69a55be31c96a03fb1f2550cc9c7b31a0b02b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20Hano=C4=9Flu?= Date: Sat, 7 Dec 2024 07:54:37 +0300 Subject: [PATCH] ci: Fix purge pg error --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f3a7465..d3db992 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,8 +8,8 @@ jobs: strategy: fail-fast: false matrix: - node: [ '16', '18', '20', '21', '22' ] - postgres: [ '12', '13', '14', '15', '16', '17' ] + node: [ '18' ] + postgres: [ '16' ] runs-on: ubuntu-latest services: postgres: @@ -32,6 +32,7 @@ jobs: run: | date echo "----- Removing pre-installed PostgreSQL -----" + psql --version # Check version to confirm sudo apt purge postgresql-14 echo "----- Installing PostgreSQL ${{ matrix.postgres }} -----" sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'