Add validation

This commit is contained in:
Edward Firmo
2024-06-19 09:16:27 +02:00
parent d4cfaaee87
commit 6731da7bc5
15 changed files with 504 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
---
name: Validate C++ (Clang Format)
# yamllint disable-line rule:truthy
on:
push:
paths:
- '**/*.h'
- '**/*.c'
- '**/*.cpp'
pull_request:
paths:
- '**/*.h'
- '**/*.c'
- '**/*.cpp'
workflow_dispatch:
jobs:
clang-format-checking:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: RafikFarhad/clang-format-github-action@v3
with:
sources: "components/tx_ultimate_easy/*.h,components/tx_ultimate_easy/*.cpp"
...