diff --git a/.github/workflows/test-clang-format.yml b/.github/workflows/test-clang-format.yml new file mode 100644 index 0000000..cfeea42 --- /dev/null +++ b/.github/workflows/test-clang-format.yml @@ -0,0 +1,15 @@ +name: Check Clang Format + +on: [push] + +jobs: + format: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: DoozyX/clang-format-lint-action@v0.11 + with: + source: '.' + extensions: 'hpp,cpp' + clangFormatVersion: 10