diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c2e05019..c75d47744 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -844,8 +844,10 @@ jobs: rustup override set ${{ env.REPO_MSRV }} cargo -V + # NOTE: Keep this above the others, because this will fail if there are _any_ changes to + # files, even ones this step doesn't modify. - name: "Format `**/*.{md,js,html,yml}` files" - run: npx --yes prettier@3.8.1 --check . + run: "npx --yes prettier@3.8.1 --check --write . && git diff --exit-code" - name: Run `cargo fmt` run: |