We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d2c47e + 4058cdc commit fb28c2fCopy full SHA for fb28c2f
.github/workflows/test.yml
@@ -28,4 +28,6 @@ jobs:
28
run: bundle exec rake
29
env:
30
RUBYOPT: --enable-frozen_string_literal
31
+ - if: ${{ matrix.ruby == 'head' && startsWith(matrix.os, 'ubuntu') }}
32
+ run: bundle exec rake rubocop
33
Gemfile
@@ -7,6 +7,6 @@ group :development do
7
gem 'racc', '> 1.4.10'
8
gem 'kpeg', github: 'evanphx/kpeg'
9
gem 'test-unit'
10
- gem 'rubocop'
+ gem 'rubocop', '>= 1.31.0'
11
gem 'gettext'
12
end
Rakefile
@@ -105,5 +105,5 @@ else
105
RuboCop::RakeTask.new(:rubocop) do |t|
106
t.options = [*parsed_files]
107
108
- task :build => [:generate, "rubocop:auto_correct"]
+ task :build => [:generate, "rubocop:autocorrect"]
109
0 commit comments