diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index f6f540b..e0f59f8 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -11,10 +11,10 @@ jobs: - uses: actions/checkout@v3 - name: Install Clang Format - run: sudo apt-get install -y clang-format-10 + run: sudo apt-get install -y clang-format - name: Check code formatting run: | - find . -not -path './src/external/*' -name '*.cpp' | xargs clang-format-10 -i - find . -not -path './src/external/*' -name '*.h' | xargs clang-format-10 -i + find . -not -path './src/external/*' -name '*.cpp' | xargs clang-format -i + find . -not -path './src/external/*' -name '*.h' | xargs clang-format -i git diff --exit-code \ No newline at end of file