Integrate clang-format into JS lint steps

This commit is contained in:
Nick Gerleman
2022-12-24 23:05:04 -08:00
parent 466333ed14
commit a14e422961
7 changed files with 121 additions and 62 deletions

View File

@@ -19,6 +19,6 @@ runs:
working-directory: ${{ inputs.directory }}
shell: bash
run: |
shopt -s globstar
shopt -s extglob
shopt -s nullglob
clang-format-${{ inputs.version }} --dry-run --Werror **/*.cpp **/*.cc **/*.h **/*.hh **/*.m **/*.mm
clang-format-${{ inputs.version }} --dry-run --Werror **/*.{h,hh,hpp,c,cpp,cc,m,mm}

View File

@@ -19,8 +19,3 @@ jobs:
uses: ./.github/actions/clang-format
with:
directory: ./yoga
- name: clang-format (JavaScript Bindings)
uses: ./.github/actions/clang-format
with:
directory: ./javascript