WingHexExplorer2/.github/workflows/clang-format-check.yml

15 lines
440 B
YAML

name: clang-format Check
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.15.0
with:
clang-format-version: '20'
exclude-regex: '(qt-template|mkinstaller|grammar)'
fallback-style: 'LLVM' # optional