From 138ba39440337100b88c90aa142f48223c31b04a Mon Sep 17 00:00:00 2001 From: cristian64 Date: Thu, 7 Mar 2024 23:12:10 +0000 Subject: [PATCH] Add **Lint** GitHub Action. C++ source files are checked with Clang-Format. --- .github/workflows/lint.yml | 12 ++++++++++++ 1 file changed, 12 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..898aba59 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,12 @@ +name: Lint +on: [push] +jobs: + clang-format-check: + runs-on: ubuntu-22.04 + name: Clang-Format Check + steps: + - uses: actions/checkout@v4 + - uses: RafikFarhad/clang-format-github-action@v4 + with: + style: "file" + sources: "Source/**/*.h,Source/**/*.cpp"