on:
  push:
    branches:
    - master
  pull_request:
    branches:
    - master

name: ci

jobs:
  clang-format:
      name: Clang Format Lint
      runs-on: ubuntu-latest
      steps:
          - name: Checkout Respository
            uses: actions/checkout@master

          - name: Check Sources
            uses: DoozyX/clang-format-lint-action@v0.5
            with:
              source: './src'
              extensions: 'h,cpp,hpp'
              clangFormatVersion: 9

          - name: Check Examples
            uses: DoozyX/clang-format-lint-action@v0.5
            with:
              source: './examples'
              extensions: 'h,cpp,hpp'
              clangFormatVersion: 9

Add Clang-Format Lint GitHub Action for format check
Add Clang-Format Lint GitHub Action for format check
