From ecb8eadc7b72fba50929d077ba7d97ead0a0d5dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Thu, 26 Oct 2023 23:23:57 -0400 Subject: [PATCH] Update clang-format-check.yml --- .github/workflows/clang-format-check.yml | 28 ++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) 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 }}" +