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