diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml index c49a6fdea..4e162b49f 100644 --- a/.github/workflows/clang-format-check.yml +++ b/.github/workflows/clang-format-check.yml @@ -1,13 +1,11 @@ -name: Clang-Format Check +name: Clang-Format check on: [push, pull_request] jobs: formatting-check: - name: Formatting Check runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Run clang-format style check for C/C++/Protobuf programs. - uses: jidicula/clang-format-action@v4.5.0 + - name: Run clang-format style check. + uses: DoozyX/clang-format-lint-action@v0.16.2 with: - clang-format-version: '8' - check-path: './' + clangFormatVersion: 8