Skip to content

Commit a72205e

Browse files
committed
Locks rubocop in Gemfile
1 parent 3fa5fcd commit a72205e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Gemfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ gem "uri", ">= 0.13.1", require: false
4646
gem "prism"
4747

4848
group :rubocop do
49-
gem "rubocop", ">= 1.25.1", require: false
49+
# Rubocop has to be locked in the Gemfile because CI ignores Gemfile.lock
50+
# We don't want rubocop to start failing whenever rubocop makes a new release.
51+
gem "rubocop", "< 1.73", require: false
5052
gem "rubocop-minitest", require: false
5153
gem "rubocop-packaging", require: false
5254
gem "rubocop-performance", require: false

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ DEPENDENCIES
714714
resque-scheduler
715715
rexml
716716
rouge
717-
rubocop (>= 1.25.1)
717+
rubocop (< 1.73)
718718
rubocop-md
719719
rubocop-minitest
720720
rubocop-packaging

0 commit comments

Comments
 (0)