git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commitaf276ca52a986ea1752f0a91bb9bf39b956d0f02
parentea1de82429
authorIsaac Freund <[email protected]>
date2020-06-01 16:20
Really fix zig fmt CI

 .github/workflows/ci_build.yml          | 4 +---
 .github/workflows/ci_build_xwayland.yml | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml
index 2649bd6..e1311f8 100644
--- a/.github/workflows/ci_build.yml
+++ b/.github/workflows/ci_build.yml
@@ -35,6 +35,4 @@ jobs:
 
       - name: zig fmt
         run: |
-          zig fmt --check river/**/*.zig
-          zig fmt --check riverctl/**/*.zig
-          zig fmt --check build.zig
+          find . -path ./zig-cache -prune -o -name "*.zig" -exec zig fmt --check {} ";"
diff --git a/.github/workflows/ci_build_xwayland.yml b/.github/workflows/ci_build_xwayland.yml
index bce9a18..6442f57 100644
--- a/.github/workflows/ci_build_xwayland.yml
+++ b/.github/workflows/ci_build_xwayland.yml
@@ -35,6 +35,4 @@ jobs:
 
       - name: zig fmt
         run: |
-          zig fmt --check river/**/*.zig
-          zig fmt --check riverctl/**/*.zig
-          zig fmt --check build.zig
+          find . -path ./zig-cache -prune -o -name "*.zig" -exec zig fmt --check {} ";"