diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 55966f35..94075083 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -19,7 +19,7 @@ jobs: submodules: true - name: Formatter run: | - for fname in $(find . -name '*.c' -o -name '*.h'); do clang-format -i --style='$line1 $line2 $line3 $line4' '$fname'; done; + for fname in $(find . -name '*.c' -o -name '*.h'); do clang-format -i --style="$line1 $line2 $line3 $line4" "$fname"; done; env: line1: "{ BasedOnStyle: LLVM, UseTab: Never," line2: "IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman,"