Skip to content

Add clang format to action #155

Add clang format to action

Add clang format to action #155

name: clang-format Check
on: [ pull_request ]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- 'src'
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/clang-format-action@v4.6.2
with:
check-path: ${{ matrix.path }}