From 4043a37892e2dd642c89b3bc6e7c2431d1318c26 Mon Sep 17 00:00:00 2001 From: Rob Taglang Date: Fri, 3 Jul 2020 20:11:46 -0400 Subject: [PATCH] Add clang-format lint check to CI (#268) --- .../workflows/continuous-integration-workflow.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index 7b6bab2f5..9a1972461 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -10,10 +10,18 @@ jobs: - run: pip install cpplint - run: cpplint --recursive . + clang-format: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: DoozyX/clang-format-lint-action@v0.6 + with: + style: Google + build-windows: name: build-windows runs-on: windows-latest - needs: cpplint + needs: [cpplint, clang-format] steps: - name: Checkout @@ -85,7 +93,7 @@ jobs: build-linux: name: build-linux runs-on: ubuntu-latest - needs: cpplint + needs: [cpplint, clang-format] steps: - uses: actions/setup-node@v1 @@ -164,7 +172,7 @@ jobs: build-osx: name: build-osx runs-on: macos-latest - needs: cpplint + needs: [cpplint, clang-format] steps: - name: Checkout