From 27d273545459aec5df2eca9811fbb207e1747a41 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Wed, 16 Feb 2022 17:51:05 -0500 Subject: [PATCH] Create clang.yml --- .github/workflows/clang.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/clang.yml diff --git a/.github/workflows/clang.yml b/.github/workflows/clang.yml new file mode 100644 index 00000000..3b1f05d5 --- /dev/null +++ b/.github/workflows/clang.yml @@ -0,0 +1,23 @@ +name: clang-format-lint + +on: + pull_request: + branches: [master, nightly] + types: [opened, synchronize, edited, reopened] + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Clang format lint + uses: DoozyX/clang-format-lint-action@v0.13 + with: + source: './sunshine' + extensions: 'cpp,h' + clangFormatVersion: 13 + style: file + inplace: False