From c21ffba96851600ed55b9d36755670e0d128285a Mon Sep 17 00:00:00 2001 From: asimos-bot Date: Tue, 19 Dec 2023 21:07:41 -0300 Subject: [PATCH] fix no-includes workflow --- .github/workflows/no-includes.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/no-includes.yml b/.github/workflows/no-includes.yml index 1cdde86..e52b05f 100644 --- a/.github/workflows/no-includes.yml +++ b/.github/workflows/no-includes.yml @@ -10,4 +10,4 @@ jobs: - uses: actions/checkout@v3 - name: Check only minhttp.h is included working-directory: ${{github.workspace}} - run: ! find -maxdepth 1 -name "*.[hc]" -exec grep -E "^#include" {} + | cut -d ':' -f 2 | grep -v "#include \"minhttp.h\"" + run: bash -c "! find -maxdepth 1 -name '*.[hc]' -exec grep -E '^#include' {} + | cut -d ':' -f 2 | grep -v '#include \"minhttp.h\"'"