name: Lint

on: [push]

jobs:
  clang-format:

    runs-on: ubuntu-20.04 # latest

    steps:
    - name: Checkout Sources
      uses: actions/checkout@v1

    - name: clang-format lint
      uses: DoozyX/clang-format-lint-action@v0.3.1
      with:
        # List of extensions to check
        extensions: c,h
