igrigorik / vimgolf

Real Vim ninjas count every keystroke - do you?
http://www.vimgolf.com/
MIT License
672 stars 65 forks source link

Bump up bundle cache version in setup-ruby in MacOS runner #360

Closed filbranden closed 2 years ago

filbranden commented 2 years ago

New macos-latest image 20220829.1 shipped a Homebrew change that reconfigured the directory layout of the Postgres 14 setup, which changed the location of the libpq.5.dylib library that is used by the pg gem.

The setup-ruby action caches gems so we don't have to rebuild and reinstall them across runs, so it turns out we were using an older pg gem built against the old Postgres, but with the new one installed in the image, therefore the gem was having trouble finding the dynamic libpq it needed.

In order to make this work again, bump up the cache version of setup-ruby, so that it builds the native pg gem once again, against the new Postgres library location.

Tested: CI passes after this change.

Fixes: actions/runner-images#6173

codecov-commenter commented 2 years ago

Codecov Report

Merging #360 (fa2a5a8) into master (3b90540) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #360   +/-   ##
=======================================
  Coverage   92.89%   92.89%           
=======================================
  Files          27       27           
  Lines         802      802           
=======================================
  Hits          745      745           
  Misses         57       57           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.