From 1105d481bb9143dad43adf768f58da7b029fd39c Mon Sep 17 00:00:00 2001 From: Alex Chernyakhovsky Date: Mon, 7 Aug 2023 22:07:52 -0400 Subject: Run clang-format lint on pull requests --- .github/workflows/clang-format.yml | 15 +++++++++++++++ 1 file changed, 15 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 0000000..6154959 --- /dev/null +++ b/.github/workflows/clang-format.yml @@ -0,0 +1,15 @@ +name: clang-format-lint + +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: DoozyX/clang-format-lint-action@v0.16.2 + with: + source: './src' + style: file + clangFormatVersion: 14 -- cgit v1.2.3