mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-04-26 09:40:46 +02:00
feat(ci): Run clang-format to check files.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user