diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4cf2d73..ab3ca18 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,4 +41,5 @@ jobs: name: smk authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - name: Lint - run: nix develop --command find src/ -iname "*.h" -o -iname "*.c" -exec clang-format --dry-run -Werror -style=file -i {} \; + run: nix develop --command bash -c 'find src/ -iname "*.h" -o -iname "*.c" -print0 | xargs -0 -n1 -- clang-format --dry-run -Werror -style=file -i' +