From 98b43530769136cc85ca212f2d0c1ad2bd08d170 Mon Sep 17 00:00:00 2001 From: Pawel Wieczorkiewicz Date: Wed, 12 Aug 2020 21:16:36 +0200 Subject: [PATCH] Add clang-format.yml workflow definition (#38) Uses: https://github.com/marketplace/actions/clang-format-lint Signed-off-by: Pawel Wieczorkiewicz Co-authored-by: Bjoern Doebel --- .github/workflows/clang-format.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/clang-format.yml diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml new file mode 100644 index 00000000..540f7162 --- /dev/null +++ b/.github/workflows/clang-format.yml @@ -0,0 +1,16 @@ +name: test-clang-format + +on: + push: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: DoozyX/clang-format-lint-action@v0.8 + with: + source: '.' + extensions: 'h,c'