mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
788 B
30 lines
788 B
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))'
|
|
|