From 1fce40574bf6cc5b30c1df5d351061c5f74975a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=AA=E3=81=A4=E3=81=8D?= Date: Wed, 16 Oct 2024 00:39:08 -0700 Subject: [PATCH] Enable rubocop GitHub Actions formatter --- Rakefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 36fe9ca..75cef38 100644 --- a/Rakefile +++ b/Rakefile @@ -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