set via BASHOPTS
This commit is contained in:
7
.github/actions/clang-format/action.yml
vendored
7
.github/actions/clang-format/action.yml
vendored
@@ -18,7 +18,6 @@ runs:
|
||||
- name: clang-format
|
||||
working-directory: ${{ inputs.directory }}
|
||||
shell: bash
|
||||
run: |
|
||||
shopt -s extglob
|
||||
shopt -s nullglob
|
||||
clang-format-${{ inputs.version }} --dry-run --Werror **/*.{h,hh,hpp,c,cpp,cc,m,mm}
|
||||
env:
|
||||
BASHOPTS: extglob:nullglob
|
||||
run: clang-format-${{ inputs.version }} --dry-run --Werror **/*.{h,hh,hpp,c,cpp,cc,m,mm}
|
||||
|
Reference in New Issue
Block a user