From dfce0d7cd5c26b7fe98d800e05a9a974fd0f4f84 Mon Sep 17 00:00:00 2001 From: WebFreak001 Date: Fri, 3 Jun 2022 14:01:23 +0200 Subject: [PATCH] try different grep syntax --- .github/workflows/d.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/d.yml b/.github/workflows/d.yml index 4521659..8228235 100644 --- a/.github/workflows/d.yml +++ b/.github/workflows/d.yml @@ -21,9 +21,9 @@ jobs: - name: 'Run sanitycheck' run: | echo "Check for trailing whitespace" - grep -nr --include \*.md '\s$' . ; test $? -eq 1 + ! grep -nr --include \*.md '\s$' . echo "Check for tabs" - grep -nrP --include \*.md '\t' . ; test $? -eq 1 + ! grep -nrP --include \*.md '\t' . git clone https://github.com/dlang-tour/core ../tour mkdir -p ../tour/public/content/lang mv * ../tour/public/content/lang