change clang action #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create draft release on tag | |
on: [push, pull_request] | |
jobs: | |
formatting-check: | |
name: Formatting Check | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
path: | |
- check: 'Src' | |
exclude: '' | |
- check: 'Inc' | |
exclude: '' | |
- check: 'Mcu' | |
exclude: '(Drivers)' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run clang-format style check | |
uses: jidicula/[email protected] | |
with: | |
clang-format-version: '16' | |
check-path: ${{ matrix.path }} | |
exclude-regex: ${{ matrix.path['exclude'] }} | |
fallback-style: 'WebKit' # optional |