Addendum to 0d368d5 #772
This file contains hidden or 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: clang-format | |
| on: | |
| push: | |
| paths: &paths | |
| - '**.c' | |
| - '**.cc' | |
| - '**.cpp' | |
| - '**.h' | |
| - '**.hh' | |
| - '**.hpp' | |
| - '.github/workflows/clang-format.yml' | |
| - 'utils/clang-format.ps1' | |
| pull_request: | |
| paths: *paths | |
| workflow_dispatch: | |
| jobs: | |
| clang-format: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Run clang-format | |
| shell: pwsh | |
| run: ./utils/clang-format.ps1 -Verbose |