Skip to content

Commit 852949d

Browse files
committed
1 parent 061f33b commit 852949d

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/ruby.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,10 @@ jobs:
3737
- uses: actions/checkout@v2
3838

3939
- uses: ruby/setup-ruby@v1
40-
if: matrix.ruby >= '2.6'
41-
with:
42-
ruby-version: ${{ matrix.ruby }}
43-
bundler-cache: true
44-
rubygems: latest
45-
46-
- uses: ruby/setup-ruby@v1
47-
if: matrix.ruby < '2.6' # Skip updating RubyGems on old rubies
4840
with:
4941
ruby-version: ${{ matrix.ruby }}
5042
bundler-cache: true
43+
rubygems: ${{ matrix.ruby < '2.6' && 'default' || 'latest' }}
5144

5245
- name: Ruby specs
5346
run: bundle exec rake test

0 commit comments

Comments
 (0)