We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 982aa49 commit 38ae935Copy full SHA for 38ae935
.github/workflows/main.yml
@@ -64,5 +64,8 @@ jobs:
64
ruby-version: ${{ matrix.ruby }}
65
- name: Install
66
run: bundle install
67
+ - name: Run Rubocop
68
+ run: bundle exec rubocop --format github
69
+ if: matrix.ruby == '3.1'
70
- name: Run tests
- run: bundle exec rake
71
+ run: bundle exec rake test
vagrant/Rakefile
@@ -13,8 +13,7 @@ default_tasks = %i[test]
13
begin
14
require 'rubocop/rake_task'
15
RuboCop::RakeTask.new
16
- # insert 0, because Ruby 2.0 doesn't know Array.prepend
17
- default_tasks.insert(0, 'rubocop')
+ default_tasks.prepend('rubocop')
18
rescue LoadError
19
puts 'Rubocop not loaded'
20
end
0 commit comments