From f314d7972de0800ffbaafa5451bcc5de1e5d9a0b Mon Sep 17 00:00:00 2001 From: Zopolis4 Date: Fri, 26 Aug 2022 08:58:45 +1000 Subject: [PATCH] Add lint workflow using clang-format --- .github/workflows/lint.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..39fbd9e3 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,17 @@ +name: Lint + +on: + pull_request: + branches: [ main ] + paths-ignore: + - "*.md" + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: DoozyX/clang-format-lint-action@v0.14 + with: + source: './src' + clangFormatVersion: 14