From 3e448b69e7df01e96d808675a683fa29f99856d3 Mon Sep 17 00:00:00 2001 From: Facundo Espinosa Date: Thu, 4 Jan 2024 21:06:53 -0300 Subject: [PATCH] Use rubocop github formatter on CI to display annotations in the UI --- .../lib/rails/generators/rails/app/templates/github/ci.yml.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railties/lib/rails/generators/rails/app/templates/github/ci.yml.tt b/railties/lib/rails/generators/rails/app/templates/github/ci.yml.tt index 775a6950def22..6a8f56cc46cfb 100644 --- a/railties/lib/rails/generators/rails/app/templates/github/ci.yml.tt +++ b/railties/lib/rails/generators/rails/app/templates/github/ci.yml.tt @@ -56,7 +56,7 @@ jobs: bundler-cache: true - name: Lint code for consistent style - run: bin/rubocop + run: bin/rubocop -f github <% end -%> test: