From ffae8f6b9f6f044b575658f035b3b22942d60011 Mon Sep 17 00:00:00 2001 From: Adrien Coulier Date: Wed, 25 Sep 2024 12:42:18 +0200 Subject: [PATCH] Ignore case when looking for files --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95280f6..78276b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,5 @@ --- + name: Run Unit Tests on: [push, pull_request] @@ -11,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - name: Check for CRLF line endings run: > - ! find . -type f -name "*.py" + ! find . -type f -iname "*.py" | grep -v '\.git/' | xargs file | grep CRLF