Skip to content

CI/CD: clang-format

CI/CD: clang-format #4

Workflow file for this run

name: clang-format
on: [pull_request]
jobs:
cpp-formatting-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Run clang-format
run: |
clang-format --dry-run -style=google $(find . -name '*.cpp' -or -name '*.h')