Skip to content

Commit

Permalink
rubygems-update 3.4+ requires ruby >= 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Jun 1, 2023
1 parent 2374281 commit 5fd5de4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
rubygems: ${{ (matrix.ruby_version < '2.6' && '3.2.3') || 'latest' }}

- name: Update Rubygems
run: gem update --system
- name: Install bundler
run: gem install bundler -v '2.2.16'
- name: Install dependencies
Expand Down Expand Up @@ -54,8 +53,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Update Rubygems
run: gem update --system
rubygems: ${{ (matrix.ruby_version < '2.6' && '3.2.3') || 'latest' }}
- name: Install bundler
run: gem install bundler -v '2.2.16'
- name: Install dependencies
Expand Down

0 comments on commit 5fd5de4

Please sign in to comment.