From 0ec37788a0e620b5df2f6141975663c3fb735eea Mon Sep 17 00:00:00 2001 From: sourabhxyz Date: Wed, 28 Aug 2024 21:00:29 +0530 Subject: [PATCH] ci(#81): update postgresql version --- .github/workflows/haskell.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 9eaa71d..2444e9e 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -30,6 +30,8 @@ jobs: dpkg-dev \ gcc \ gnupg \ + gnupg2 \ + gnupg1 \ g++ \ hlint \ libc6-dev \ @@ -48,8 +50,11 @@ jobs: procps \ tmux \ xz-utils \ - zlib1g-dev \ - postgresql + zlib1g-dev + sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' + wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - + sudo apt-get update -y + sudo apt-get install postgresql-14 -y - name: Validate code (run pre-commit hooks) uses: pre-commit/action@v3.0.0 with: