1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
name: clang-format Check
on:
push:
branches:
- develop
- master
paths:
- ".clang-format"
- ".github/workflows/clang-format.yml"
- "**/*.c"
- "**/*.h"
pull_request:
paths:
- ".clang-format"
- ".github/workflows/clang-format.yml"
- "**/*.c"
- "**/*.h"
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Run clang-format style check
uses: jidicula/clang-format-action@v4.15.0
with:
clang-format-version: 20
|