From a3f9fc227b8e4b4ae843421dfec964cdd4bc8261 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Fri, 9 Jul 2021 12:45:11 +0200 Subject: [PATCH] Disable clang-format action until it actually passes Ref #22 --- .github/workflows/clang-format.yml | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 .github/workflows/clang-format.yml diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml deleted file mode 100644 index b154a3a4..00000000 --- a/.github/workflows/clang-format.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: clang-format check - -on: - pull_request: - push: - -jobs: - check-fmt: - runs-on: ubuntu-latest - name: "clang-format" - if: "!contains(github.event.head_commit.message, '[skip lint]')" - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Run clang-format - run: | - # This magic invocation to find will: - # - list every file ending in .hpp or .cpp recursively in - # - ./lib - # - ./test - # unless the path contains a directory named 3rdparty in it - find ./lib ./test -type d -name "3rdparty" -prune -false -o -type f -iname "*.cpp" -o -iname "*.hpp" -print0 | xargs -0 clang-format --style=file -Werror --dry-run - -