Only run packing step for release CI builds. #80
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 Check | |
on: [push, pull_request, workflow_dispatch] | |
# Cancel any previous workflows if the pull request was updated | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
formatting-check: | |
name: Formatting Check | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
path: | |
- 'src' | |
- 'tests' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run clang-format style check for C/C++/Protobuf programs. | |
uses: jidicula/clang-format-action@v4.14.0 | |
with: | |
clang-format-version: 19 | |
fallback-style: none | |
check-path: ${{ matrix.path }} | |
exclude-regex: '(Bindings|CLI)/|(CppParser/(Parse)?(Expr|Stmt))' |