Skip to content

Add clang-format CI action #29

Add clang-format CI action

Add clang-format CI action #29

Workflow file for this run

# TODO
name: Checks
on:
push:
paths:
- '.github/**'
- '**.cpp'
- '**.h'
- '**.hpp'
pull_request:
paths:
- '.github/**'
- '**.cpp'
- '**.h'
- '**.hpp'
workflow_dispatch:
jobs:
clang-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run clang-format
uses: jidicula/[email protected]
with:
check-path: '.'
clang-format-version: '17'
exclude-regex: '.*\/external\/.*'