Skip to content

Commit

Permalink
Fix a CI failure caused by installing libpg5 in Ruby 2.0 to 2.3 envir…
Browse files Browse the repository at this point in the history
…onment

Fixed an issue where the process to downgrade libpq5 failed in CI for Ruby 2.0 to 2.3 environments.

ref: [Merge pull request collectiveidea#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)
  • Loading branch information
willnet committed Jan 27, 2025
1 parent e5b4fbf commit 4895af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 4895af5

Please sign in to comment.