From 7d2fd1eed55f20d06a8631c88e7c30e7cfe8d5fd Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Tue, 28 Feb 2023 23:24:09 +0100 Subject: [PATCH] WHY THE FUCK IS THIS NOT BUILT INTO PRETTIER --- .github/workflows/lint.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0bd37a71c..bfe75f813 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,8 +18,11 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Check formatting with Prettier + - name: Reformat with Prettier uses: actionsx/prettier@e90ec5455552f0f640781bdd5f5d2415acb52f1a with: # prettier CLI arguments. - args: --check . + args: --write . + - name: Show diff + run: git --no-pager diff --exit-code --color=never + shell: bash