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
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}