Added clang-format check
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
name: clang-format Check
|
||||||
|
on: [push, pull_request]
|
||||||
|
jobs:
|
||||||
|
formatting-check:
|
||||||
|
name: Formatting Check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Run clang-format style check
|
||||||
|
uses: jidicula/clang-format-action@v4.13.0
|
||||||
|
with:
|
||||||
|
clang-format-version: '13'
|
||||||
|
check-path: 'src'
|
||||||
Reference in New Issue
Block a user