Integrate clang-format into JS lint steps
This commit is contained in:
4
.github/actions/clang-format/action.yml
vendored
4
.github/actions/clang-format/action.yml
vendored
@@ -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}
|
||||
|
Reference in New Issue
Block a user