You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
467 B
26 lines
467 B
4 years ago
|
name: clang-format-lint
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
paths:
|
||
|
- "app/boards/**/*.c"
|
||
|
- "app/include/**/*.h"
|
||
|
- "app/src/**"
|
||
|
pull_request:
|
||
|
paths:
|
||
|
- "app/boards/**/*.c"
|
||
|
- "app/include/**/*.h"
|
||
|
- "app/src/**"
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
name: clang-format lint
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- uses: DoozyX/clang-format-lint-action@v0.9
|
||
|
with:
|
||
|
source: "./app"
|
||
|
extensions: "h,c"
|