From 1d9a0415f939e0ce7602fe6147cb1b15d7346344 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Mon, 31 May 2021 12:51:28 +0100 Subject: [PATCH] github: Add clang-format action --- .github/workflows/clang-format.yml | 18 ++++++++++++++++++ 1 file changed, 18 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..0138a51a --- /dev/null +++ b/.github/workflows/clang-format.yml @@ -0,0 +1,18 @@ +name: clang-format + +on: [push, pull_request] + +jobs: + clang-format: + + runs-on: ubuntu-latest + + steps: + + - name: Checkout dynarmic repo + uses: actions/checkout@v2 + + - uses: DoozyX/clang-format-lint-action@v0.12 + with: + source: 'src tests' + clangFormatVersion: 12