Skip to content

Merge branch 'main' of https://github.com/m5stack/M5AtomS3 #59

Merge branch 'main' of https://github.com/m5stack/M5AtomS3

Merge branch 'main' of https://github.com/m5stack/M5AtomS3 #59

name: clang-format Check
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- check: "./" # path to include
exclude: "(FactoryTest)" # 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'] }}