Skip to content

Commit 625207b

Browse files
authored
Merge pull request #105 from ruby/pin-rg-3-3-ruby-2-5
Pin RubyGems 3.3 for Ruby 2.5
2 parents d6b4e09 + 2c66c9a commit 625207b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,14 @@ jobs:
3232
with:
3333
ruby-version: ${{ matrix.ruby }}
3434
bundler-cache: true # 'bundle install' and cache
35-
- name: Ensure new-enough RubyGems
35+
- name: Ensure new-enough RubyGems for Ruby 2.6
3636
run: gem update --system
37-
if: ${{ matrix.ruby == '2.6' || matrix.ruby == '2.5' }}
37+
if: ${{ matrix.ruby == '2.6' }}
38+
- name: Ensure new-enough RubyGems for Ruby 2.5
39+
run: |
40+
gem install rubygems-update -v "~> 3.3.26"
41+
update_rubygems
42+
if: ${{ matrix.ruby == '2.5' }}
3843
- name: Run test
3944
run: bundle exec rake
4045
env:

0 commit comments

Comments
 (0)