mirror of
https://github.com/openmv/openmv.git
synced 2025-09-26 23:09:13 +08:00
github/workflows/codeformat: Fix workflow.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
This commit is contained in:
parent
aaabe05565
commit
f16f566141
9
.github/workflows/codeformat.yml
vendored
9
.github/workflows/codeformat.yml
vendored
@ -5,7 +5,9 @@ on:
|
||||
branches:
|
||||
- 'master'
|
||||
paths:
|
||||
- '**/*.{c,cc,h}'
|
||||
- '**/*.c'
|
||||
- '**/*.cc'
|
||||
- '**/*.h'
|
||||
|
||||
pull_request:
|
||||
types:
|
||||
@ -16,7 +18,9 @@ on:
|
||||
branches:
|
||||
- 'master'
|
||||
paths:
|
||||
- '**/*.{c,cc,h}'
|
||||
- '**/*.c'
|
||||
- '**/*.cc'
|
||||
- '**/*.h'
|
||||
|
||||
jobs:
|
||||
formatting-check:
|
||||
@ -27,6 +31,7 @@ jobs:
|
||||
with:
|
||||
submodules: false
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
|
||||
- name: '🔎 Check code formatting'
|
||||
uses: openmv/uncrustify-action@v1
|
||||
|
Loading…
Reference in New Issue
Block a user