We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
prism
1 parent f7e25f9 commit bddfd6eCopy full SHA for bddfd6e
.github/workflows/rubocop.yml
@@ -94,6 +94,11 @@ jobs:
94
ruby-version: ${{ matrix.ruby }}
95
- name: install rubocop from source for full specs
96
run: git clone --branch $RUBOCOP_VERSION https://github.com/rubocop/rubocop.git ../rubocop
97
+ - name: prevent prism from breaking tests on older RuboCop
98
+ # FIXME: Remove when the next prism version is released.
99
+ # See https://github.com/rubocop/rubocop/pull/14526
100
+ if: matrix.rubocop == 'v1.72.1'
101
+ run: cd ../rubocop && sed -i "s/gem 'prism'.*$/gem 'prism', '< 1.5.0'/" Gemfile
102
- name: install rubocop dependencies
103
run: cd ../rubocop && bundle install --jobs 3 --retry 3
104
- name: install dependencies
0 commit comments