Skip to content

Commit 6d4a3c4

Browse files
authored
Merge pull request #821 from pirj/edge-rubocop-dependency-check
Add a job to be making sure the changes in pull requests are compatible with the latest released RuboCop version.
2 parents 59dc17b + 65cc815 commit 6d4a3c4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.circleci/config.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,19 @@ jobs:
6161
- image: circleci/ruby:2.6
6262
<<: *rubocop
6363

64+
edge-rubocop:
65+
docker:
66+
- image: circleci/ruby
67+
steps:
68+
- checkout
69+
- run:
70+
name: Use latest RuboCop from `master`
71+
command: |
72+
echo "gem 'rubocop', github: 'rubocop-hq/rubocop'" > Gemfile.local
73+
- run: bundle install --no-cache
74+
- run: rake spec
75+
- run: rake internal_investigation
76+
6477
# JRuby
6578
jruby:
6679
docker:
@@ -121,5 +134,7 @@ workflows:
121134
requires: [confirm_config_and_documentation]
122135
- ruby-2.6-rubocop:
123136
requires: [confirm_config_and_documentation]
137+
- edge-rubocop:
138+
requires: [confirm_config_and_documentation]
124139
- jruby
125140
- code-climate

0 commit comments

Comments
 (0)