Skip to content

Commit 588d087

Browse files
Merge formatting CI steps
1 parent b85dedd commit 588d087

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,7 @@ jobs:
1818
- run: wget -O ./Cubyz-fmt https://github.com/PixelGuys/Cubyz-formatter/releases/download/0.16.0-dev.1424+3/Cubyz-fmt-x86_64-linux
1919
- run: chmod +x ./Cubyz-fmt
2020
- run: |
21-
if ./Cubyz-fmt *.zig | grep -q . ; then
22-
git diff --color=always;
23-
exit 1;
24-
fi
25-
- run: |
26-
if ./Cubyz-fmt --zon *.zon | grep -q . ; then
21+
if ./Cubyz-fmt *.zig *.zon | grep -q . ; then
2722
git diff --color=always;
2823
exit 1;
2924
fi

0 commit comments

Comments
 (0)