diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml index 6804c186b95..a079a457ac7 100644 --- a/.github/workflows/clang-format-check.yml +++ b/.github/workflows/clang-format-check.yml @@ -20,8 +20,28 @@ jobs: - name: Collect Workflow Telemetry uses: runforesight/workflow-telemetry-action@v1 - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 - - name: Run clang-format style check for C/C++/Protobuf programs. - uses: jidicula/clang-format-action@v4.11.0 + + - uses: DoozyX/clang-format-lint-action@v0.16.2 with: - clang-format-version: '15' - check-path: . + source: '.' + clangFormatVersion: 15 + inplace: True + #- name: Run clang-format style check for C/C++/Protobuf programs. + #uses: jidicula/clang-format-action@v4.11.0 + #with: + #clang-format-version: '15' + #check-path: . + - name: Verify Changed files + uses: tj-actions/verify-changed-files@v16 + id: verify-changed-files + + - name: List all changed files tracked and untracked files + run: | + echo "Changed files: ${{ steps.verify-changed-files.outputs.changed_files }}" + + + - uses: actions/upload-artifact@v3 + with: + name: my-artifact + path: ${{ steps.verify-changed-files.outputs.changed_files }}" +