From 1a249f5465b99b8958ef0e22f5a857c9b46519af Mon Sep 17 00:00:00 2001 From: Arran Cudbard-Bell Date: Sun, 1 Sep 2024 18:21:38 -0600 Subject: [PATCH] Just use the latest version of postgresql --- .github/actions/ci-tests/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/ci-tests/action.yml b/.github/actions/ci-tests/action.yml index a00d43203a1e..0ae809089e5d 100644 --- a/.github/actions/ci-tests/action.yml +++ b/.github/actions/ci-tests/action.yml @@ -136,7 +136,7 @@ runs: if: ${{ inputs.use_docker != 'true' }} shell: bash run: | - export PG_VER=14 + export PG_VER=$(ls /etc/postgresql | sort -r | head -1) sudo sh -c "echo host all all 127.0.0.1/32 trust > /etc/postgresql/$PG_VER/main/pg_hba.conf" sudo sh -c "echo local all all trust >> /etc/postgresql/$PG_VER/main/pg_hba.conf"