Skip to content

Commit 6f26e47

Browse files
authored
Merge pull request rsim#290 from yahonda/pin-bundler-4.0.6
ci: Pin Bundler to 4.0.6 in RuboCop workflow as workaround for ruby/rubygems#9536
2 parents 959e88b + a434867 commit 6f26e47

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/rubocop.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,21 @@ jobs:
1010
build:
1111

1212
runs-on: ubuntu-latest
13+
env:
14+
BUNDLER_VERSION: 4.0.6
1315

1416
steps:
1517
- uses: actions/checkout@v6
1618
- name: Set up Ruby 4.0
1719
uses: ruby/setup-ruby@v1
1820
with:
1921
ruby-version: "4.0"
22+
- name: Pin Bundler to 4.0.6 (workaround for ruby/rubygems#9536)
23+
run: |
24+
gem install bundler -v 4.0.6
25+
ruby --version
26+
gem --version
27+
bundle --version
2028
- name: Build and run RuboCop
2129
run: |
2230
BUNDLE_ONLY=rubocop bundle install --jobs 4 --retry 3

0 commit comments

Comments
 (0)