Skip to content

[GithubAction] add platformio build test #11

[GithubAction] add platformio build test

[GithubAction] add platformio build test #11

name: clang-format Check

Check failure on line 1 in .github/workflows/clang-format-check.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/clang-format-check.yml

Invalid workflow file

Invalid type for `job.strategy`
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- check: './' # path to include
exclude: './lib' # path to exclude
exclude: './include' # path to exclude
# - check: 'src'
# exclude: '(Fonts)' # Exclude file paths containing "Fonts"
# - check: 'examples'
# exclude: ''
steps:
- uses: actions/[email protected]
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: '13'
check-path: ${{ matrix.path['check'] }}
exclude-regex: ${{ matrix.path['exclude'] }}