Skip to content

fix formatting

fix formatting #6

Workflow file for this run

name: clang-format Check
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- check: 'src'
exclude: '(stb)'
- check: 'tests'
exclude: ''
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: '13'
check-path: ${{ matrix.path['check'] }}
exclude-regex: ${{ matrix.path['exclude'] }}