diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml new file mode 100644 index 0000000..ced2850 --- /dev/null +++ b/.github/workflows/code-checks.yml @@ -0,0 +1,17 @@ +name: Format Check +on: [pull_request] +jobs: + formatting-check: + name: Clang Format Check + runs-on: ubuntu-latest + strategy: + matrix: + path: [ 'tests', 'include' ] + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Run clang-format style check + uses: surge-synthesizer/sst-githubactions/clang-format-check@main + with: + path: ${{ matrix.path }}