Skip to content

Commit

Permalink
CI: Show RuboCop version without running RuboCop
Browse files Browse the repository at this point in the history
The oldest version of RuboCop may not be able to read our configuration
file. That doesn't matter, we just need the version number, and
assurance that the specs can run.
  • Loading branch information
bquorning committed Jan 27, 2025
1 parent b745d29 commit 81f492d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ jobs:
with:
ruby-version: "3.4"
bundler-cache: true
- run: bundle exec rubocop -V
- name: Show RuboCop version
run: grep '^ rubocop' Gemfile.lock | sort
- run: NO_COVERAGE=true bundle exec rake ${{ matrix.task }}

oldest-rubocop:
Expand All @@ -97,7 +98,8 @@ jobs:
with:
ruby-version: "3.4"
bundler-cache: true
- run: bundle exec rubocop -V
- name: Show RuboCop version
run: grep '^ rubocop' Gemfile.lock | sort
- run: NO_COVERAGE=true bundle exec rake ${{ matrix.task }}

rspec4:
Expand Down

0 comments on commit 81f492d

Please sign in to comment.