Skip to content

Commit

Permalink
Enable rubocop GitHub Actions formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme authored Oct 16, 2024
1 parent 1b1dc46 commit 1fce405
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ Rake::TestTask.new do |t|
t.test_files = FileList['test/**/*_test.rb']
end

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

namespace :git do
namespace :submodule do
Expand Down

0 comments on commit 1fce405

Please sign in to comment.