Merge pull request #144 from rism-digital/develop #236
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: Check clang-format | |
on: [push, pull_request] | |
jobs: | |
formatting-check: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
path: | |
- check: "include" | |
exclude: "(hum|crc|midi|json|pugi|utf8|win32|zip)" | |
- check: "src" | |
exclude: "(hum|crc|midi|json|pugi)" | |
- check: "libmei/addons" | |
- check: "tools" | |
name: Check for ${{ matrix.path['check'] }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run clang-format style check for C/C++ programs. | |
uses: jidicula/clang-format-action@v4.11.0 | |
with: | |
clang-format-version: "18" | |
check-path: ${{ matrix.path['check'] }} | |
exclude-regex: ${{ matrix.path['exclude'] }} |