Skip to content

feat: add clang format check action #1

feat: add clang format check action

feat: add clang format check action #1

Workflow file for this run

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.18.0
with:
clang-format-version: "14"
include-regex: ^(main\.cpp|imhtml\.cpp|imhtml\.hpp)$