Skip to content

jd2cal.cpp

jd2cal.cpp #8

name: clang-format Check
on:
push:
branches: [ "main", "cleanup" ]
pull_request:
branches: [ "main" ]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- 'src'
- 'test'
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: '16'
check-path: ${{ matrix.path }}
fallback-style: 'LLVM' # optional