Skip to content

Commit fd55b0d

Browse files
committed
RuboCop: don't run on old Rubies
1 parent ea5744a commit fd55b0d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ruby.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,17 @@ jobs:
2929
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
3030

3131
- name: Run tests
32-
run: bundle exec rake
32+
run: bundle exec rake spec
3333
# enable code coverage reporting
3434
env:
3535
COVERAGE: 'true'
3636
COVERAGE_LCOV: 'true'
3737

38+
- name: Run RuboCop
39+
# only for latest version, it is dropping Ruby support fster than us
40+
if: ${{ matrix.ruby-version == '3.4' }}
41+
run: bundle exec rake rubocop
42+
3843
- name: Coveralls Report
3944
# send it only for the latest version to avoid duplicate submits
4045
if: ${{ matrix.ruby-version == '3.4' }}

0 commit comments

Comments
 (0)