Skip to content

Commit 574d275

Browse files
committed
ci: show diff for toml_format
- The `--diff` parameter isn't available via npx - Also runs faster
1 parent 5eed274 commit 574d275

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@ jobs:
5050
toml_format:
5151
runs-on: ubuntu-latest
5252
steps:
53+
- uses: taiki-e/install-action@taplo
5354
- name: Clone repository
5455
uses: actions/checkout@v5
5556

5657
- name: Check
57-
run: npx --yes @taplo/cli fmt --check
58+
run: taplo fmt --check --diff
5859

5960

6061

0 commit comments

Comments
 (0)