Skip to content

Commit

Permalink
Update clang-format-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix authored Oct 27, 2023
1 parent 839680e commit ecb8ead
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
#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 }}"

0 comments on commit ecb8ead

Please sign in to comment.