From 913cdc00907c6f5caba5690f66f1b936ec939034 Mon Sep 17 00:00:00 2001 From: David Genord II Date: Wed, 14 Aug 2024 14:12:20 -0400 Subject: [PATCH] Attempt to fix old ruby pg segfault --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d20f8858..76b2a68b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -204,6 +204,9 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Reinstall libpg + if: ${{ matrix.ruby <= '2.4' }} + run: sudo apt-get update && sudo apt-get install -y --allow-downgrades libpq5=12.19-0ubuntu0.20.04.1 && sudo apt-get install -y --allow-downgrades libpq-dev - uses: ruby/setup-ruby@v1 env: BUNDLE_GEMFILE: ${{ matrix.gemfile }}