set via BASHOPTS

This commit is contained in:
Nick Gerleman
2022-12-24 23:55:25 -08:00
parent ae0e80f2f5
commit 49660865b2

View File

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