File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
BUNDLE_WITHOUT : development
10
10
steps :
11
11
- uses : actions/checkout@v3
12
- - name : Set up Ruby 2.4
12
+ - name : Set up Ruby 2.6
13
13
uses : ruby/setup-ruby@v1
14
14
with :
15
- ruby-version : 2.4
15
+ ruby-version : 2.6
16
16
bundler-cache : true # runs 'bundle install' and caches installed gems automatically
17
17
- name : Run RuboCop
18
18
run : bundle exec rubocop
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ group :test do
19
19
# Downgrade psych because old RuboCop can't use new Psych
20
20
gem 'psych' , '< 4.0.0'
21
21
# https://github.com/bbatsov/rubocop/pull/4789
22
- gem 'rubocop' , '~> 1.30'
22
+ gem 'rubocop' , '~> 1.30' if Gem :: Version . new ( RUBY_VERSION ) >= Gem :: Version . new ( '2.6' )
23
23
end
24
24
25
25
group :benchmarks , optional : true do
You can’t perform that action at this time.
0 commit comments