Skip to content

Commit 6a29763

Browse files
authored
Merge pull request #2778 from yahonda/backport-2767-to-release81
Backport #2767 to release81: ci: Pin Bundler to 4.0.6 in RuboCop workflow
2 parents b6c1628 + 1c93163 commit 6a29763

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,12 +10,20 @@ jobs:
1010
build:
1111

1212
runs-on: ubuntu-latest
13+
env:
14+
BUNDLER_VERSION: 4.0.6
1315
steps:
1416
- uses: actions/checkout@v6
1517
- name: Set up Ruby 4.0
1618
uses: ruby/setup-ruby@v1
1719
with:
1820
ruby-version: 4.0
21+
- name: Pin Bundler to 4.0.6 (workaround for ruby/rubygems#9536)
22+
run: |
23+
gem install bundler -v 4.0.6
24+
ruby --version
25+
gem --version
26+
bundle --version
1927
- name: Build and run RuboCop
2028
run: |
2129
BUNDLE_ONLY=rubocop bundle install --jobs 4 --retry 3

0 commit comments

Comments
 (0)