From 122ce599255039b2875f201c09edf6e89f9945ec Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Fri, 29 May 2020 14:44:04 -0400 Subject: [PATCH] format code for syntaxes --- .github/workflows/clang-format.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 3b2c66c1..e1443bd8 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -9,20 +9,20 @@ on: [push] jobs: build: runs-on: ubuntu-latest - - name: requirements - run: | - sudo apt -qq -y update - sudo apt -qq install clang-format steps: - - uses: actions/checkout@master - with: - submodules: true - - name: Formatter - run: find -name '*.c' -o -name '*.h' | \ - xargs clang-format -i -style="{ BasedOnStyle: LLVM, UseTab: Never, \ - IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, \ - AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, \ - ColumnLimit: 80, AccessModifierOffset: -4 }" - - name: test - run: git diff + - name: requirements + run: | + sudo apt -qq -y update + sudo apt -qq install clang-format + - uses: actions/checkout@master + with: + submodules: true + - name: Formatter + run: find -name '*.c' -o -name '*.h' | \ + xargs clang-format -i -style="{ BasedOnStyle: LLVM, UseTab: Never, \ + IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, \ + AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, \ + ColumnLimit: 80, AccessModifierOffset: -4 }" + - name: test + run: git diff