Skip to content

Commit 80631e7

Browse files
committed
ci: Use "latest" Bundler with Ruby "head"
Prevents picking up of the Gemfile's v2.4.22 which is no longer compatible with Ruby 4.
1 parent 2c97efd commit 80631e7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ruby.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
DEBUG: "true"
2727
steps:
2828
- uses: actions/checkout@v3
29+
- name: Remove bundler version pin for head Ruby
30+
if: matrix.ruby == 'head'
31+
run: sed -i '/^BUNDLED WITH/{N;d}' Gemfile.lock
2932
- name: Set up Ruby ${{ matrix.ruby }}
3033
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
3134
# change this to (see https://github.com/ruby/setup-ruby#versioning):

0 commit comments

Comments
 (0)