Skip to content

Apply formatting for C++ using clang-format #34

Apply formatting for C++ using clang-format

Apply formatting for C++ using clang-format #34

name: clang-format Check
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/[email protected]
with:
clang-format-version: '16'
fallback-style: 'LLVM'
# Ignore third-party headers.
exclude-regex: 'core/file/(json|nifti[12]).h'