Skip to content

Add .clang-format to enforce project style #1

Add .clang-format to enforce project style

Add .clang-format to enforce project style #1

name: clang-format
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- 'include'
- 'src'
- 'test'
- 'tools'
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check.
uses: jidicula/[email protected]
with:
check-path: ${{ matrix.path }}