From 7d2e0e0ba86bdad16050e3e76e2a9a735efb68af Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Sun, 29 Aug 2021 00:08:18 -0400 Subject: [PATCH] CI: delete the whitespace check --- .github/workflows/whitespace.yml | 33 -------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 .github/workflows/whitespace.yml diff --git a/.github/workflows/whitespace.yml b/.github/workflows/whitespace.yml deleted file mode 100644 index 580a5fa..0000000 --- a/.github/workflows/whitespace.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Whitespace -on: - pull_request: - branches: - - main - push: - branches: - - main - tags: '*' -jobs: - whitespace: - name: whitespace - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - run: git status - - name: Check whitespace - run: | - echo "Checking for whitespace issues..." - if git --no-pager grep --color -n --full-name -e ' $' -- * - then - echo "Error: trailing whitespace found in source file(s)" - echo "" - echo "This can often be fixed with:" - echo " git rebase --whitespace=fix HEAD~1" - echo "or" - echo " git rebase --whitespace=fix master" - echo "and then a forced push of the correct branch" - exit 1 - else - echo "Whitespace check found no issues" - fi - shell: bash