diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 4de6de686568a4186d9a110dd729ebc22d73c4e4..5680873555f490a1503c99e0544e3170cb729e1e 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -30,7 +30,8 @@ jobs:
       with:
         php-version: 7.4
         coverage: none
+        tools: cs2pr
     - name: Install dependencies
       run: composer i
     - name: Run coding standards check
-      run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
+      run: composer run cs:check -- --format=checkstyle | cs2pr