Skip to content

Commit c4c8ea7

Browse files
authored
Enable rubocop GitHub Actions formatter (#249)
1 parent 48140ba commit c4c8ea7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Rakefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@ end
2323

2424
RSpec::Core::RakeTask.new
2525

26-
RuboCop::RakeTask.new
26+
RuboCop::RakeTask.new do |task|
27+
task.formatters = ['progress']
28+
task.formatters << 'github' if ENV.key?('GITHUB_ACTIONS')
29+
end

0 commit comments

Comments
 (0)