Skip to content

Commit

Permalink
introducing massive regex
Browse files Browse the repository at this point in the history
  • Loading branch information
jr1221 committed Jun 18, 2024
1 parent 4ad92ec commit da4039a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,9 @@ jobs:
uses: Northeastern-Electric-Racing/clang-format-action@main
with:
clang-format-version: '17'
# only check core, embedded base covered internally
check-path: "Core/"
# massive regex to exclude anything CubeMX generated, could require tweaking
exclude-regex: "stm32.*|main.(c|h)|(?i)freertos|sys.*|(system|startup)_stm32.*"
# use the clang-format from embedded base
format-filepath: "./Drivers/Embedded-Base/clang-format"

0 comments on commit da4039a

Please sign in to comment.