Skip to content

Commit 123461d

Browse files
Bump bundler version to latest
We are seeing a bunch of warnings when running the tests. Bumping bundler's version fix them. Because bundler's latest version does not support Ruby 3.0, I had to add the CI workaround until 3.0 is not supported anymore.
1 parent a8d0ddb commit 123461d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/ruby.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,13 @@ jobs:
5353
ruby-version: ${{ matrix.ruby }}
5454

5555
- name: Install dependencies
56-
run: bundle install
56+
run: |
57+
if [[ "${{ matrix.ruby }}" < "3.1" ]]; then
58+
gem install bundler:2.4.22
59+
bundle _2.4.22_ install
60+
else
61+
bundle install
62+
fi
5763
5864
- name: Run tests
5965
run: bundle exec rake test

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@ DEPENDENCIES
8787
yard (= 0.9.37)
8888

8989
BUNDLED WITH
90-
2.4.22
90+
4.0.3

0 commit comments

Comments
 (0)