From 4895af5b898b85495bc7f4ca111b709f4cfc056d Mon Sep 17 00:00:00 2001 From: Shinichi Maeshima Date: Mon, 27 Jan 2025 14:24:33 +0900 Subject: [PATCH] Fix a CI failure caused by installing libpg5 in Ruby 2.0 to 2.3 environment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed an issue where the process to downgrade libpq5 failed in CI for Ruby 2.0 to 2.3 environments. ref: [Merge pull request #243 from collectiveidea/prepare-4-1-11 ยท collectiveidea/delayed_job_active_record@e5b4fbf](https://github.com/collectiveidea/delayed_job_active_record/actions/runs/11758646036/job/32757241087) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a36a779..1f171a42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -237,7 +237,7 @@ jobs: - name: Reinstall libpg if: ${{ matrix.ruby < '2.4' && contains(matrix.gemfile, 'postgresql') }} # version located via https://pkgs.org/search/?q=libpq5 and the Ubuntu 20.04 LTS package list - 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 + run: sudo apt-get update && sudo apt-get install -y --allow-downgrades libpq5=12.2-4 && sudo apt-get install -y --allow-downgrades libpq-dev - uses: ruby/setup-ruby@v1 env: BUNDLE_GEMFILE: ${{ matrix.gemfile }}