Skip to content

Commit

Permalink
Pin RubyGems 3.3 for Ruby 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Jan 20, 2023
1 parent d6b4e09 commit 2c66c9a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,14 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # 'bundle install' and cache
- name: Ensure new-enough RubyGems
- name: Ensure new-enough RubyGems for Ruby 2.6
run: gem update --system
if: ${{ matrix.ruby == '2.6' || matrix.ruby == '2.5' }}
if: ${{ matrix.ruby == '2.6' }}
- name: Ensure new-enough RubyGems for Ruby 2.5
run: |
gem install rubygems-update -v "~> 3.3.26"
update_rubygems
if: ${{ matrix.ruby == '2.5' }}
- name: Run test
run: bundle exec rake
env:
Expand Down

0 comments on commit 2c66c9a

Please sign in to comment.