From 616551d76247643b280ce280083c0c75a1147355 Mon Sep 17 00:00:00 2001 From: burkfers Date: Thu, 7 Mar 2024 16:46:00 +0100 Subject: [PATCH] add linting gh action --- .github/workflows/clang-format-lint.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/clang-format-lint.yml diff --git a/.github/workflows/clang-format-lint.yml b/.github/workflows/clang-format-lint.yml new file mode 100644 index 0000000..d842f5a --- /dev/null +++ b/.github/workflows/clang-format-lint.yml @@ -0,0 +1,17 @@ +name: 'Linting' +on: + push: {} + pull_request: {} + +jobs: + job: + name: check-clang-format + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: DoozyX/clang-format-lint-action@v0.13 + with: + source: '.' + extensions: 'h,c' + clangFormatVersion: 16.0.0