Skip to content

Commit

Permalink
Use latest RubyGems on Ruby >= 2.6
Browse files Browse the repository at this point in the history
or CI on edge Rails (7.1 that requires RubyGems >= 3.3.13)  would fail
  • Loading branch information
amatsuda committed Jan 20, 2023
1 parent dbf25e3 commit 004c97a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ruby.yml
Expand Up @@ -37,6 +37,14 @@ jobs:
- uses: actions/checkout@v2

- uses: ruby/setup-ruby@v1
if: matrix.ruby >= '2.6'
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
rubygems: latest

- uses: ruby/setup-ruby@v1
if: matrix.ruby < '2.6' # Skip updating RubyGems on old rubies
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
Expand Down

0 comments on commit 004c97a

Please sign in to comment.