clang-format the JS directory
This commit is contained in:
2
.github/actions/clang-format/action.yml
vendored
2
.github/actions/clang-format/action.yml
vendored
@@ -21,4 +21,4 @@ runs:
|
||||
run: |
|
||||
shopt -s globstar
|
||||
shopt -s nullglob
|
||||
clang-format-${{ inputs.version }} --dry-run --Werror **/*.cpp **/*.h **/*.m **/*.mm
|
||||
clang-format-${{ inputs.version }} --dry-run --Werror **/*.cpp **/*.cc **/*.h **/*.hh **/*.m **/*.mm
|
||||
|
5
.github/workflows/validate-cpp.yml
vendored
5
.github/workflows/validate-cpp.yml
vendored
@@ -19,3 +19,8 @@ jobs:
|
||||
uses: ./.github/actions/clang-format
|
||||
with:
|
||||
directory: ./yoga
|
||||
|
||||
- name: clang-format (JavaScript Bindings)
|
||||
uses: ./.github/actions/clang-format
|
||||
with:
|
||||
directory: ./javascript
|
||||
|
Reference in New Issue
Block a user