From 33539d5b03840aedf5f729a9636ec353483c2422 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Mon, 1 Jun 2020 16:20:48 +0200 Subject: [PATCH] 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 {} ";"