Skip to content

Update to clang-format version 17 #3

Update to clang-format version 17

Update to clang-format version 17 #3

name: clang-format Check
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- check: 'benchmark'
exclude: '' # Nothing to exclude
- check: 'library'
exclude: '' # Nothing to exclude
- check: 'test'
exclude: '' # Nothing to exclude
- check: 'tools'
exclude: '' # Nothing to exclude
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: '17'
check-path: ${{ matrix.path['check'] }}
exclude-regex: ${{ matrix.path['exclude'] }}
fallback-style: 'LLVM' # optional