Skip to content

Commit 2ad7c90

Browse files
committed
Update RubyGems in GitHub Actions CI
1 parent b7a85cd commit 2ad7c90

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ruby.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,24 @@ jobs:
1616
- '3.4'
1717
- jruby
1818
- truffleruby
19+
include:
20+
- ruby: '3.0'
21+
rubygems_version: '3.5.23'
22+
- ruby: '3.1'
23+
rubygems_version: '3.6.9'
1924
name: Ruby ${{ matrix.ruby }}
2025
steps:
2126
- uses: actions/checkout@v2
2227
- name: Set up Ruby
2328
uses: ruby/setup-ruby@v1
2429
with:
2530
ruby-version: ${{ matrix.ruby }}
31+
- name: Update RubyGems
32+
env:
33+
RUBYGEMS_VERSION: ${{ matrix.rubygems_version }}
34+
run: |
35+
gem update --system ${RUBYGEMS_VERSION:-}
36+
gem -v
2637
- name: Install dependencies
2738
run: bundle install --jobs 4 --retry 3
2839
- name: Run tests

0 commit comments

Comments
 (0)