Skip to content

Major CMake rework

Major CMake rework #2

Workflow file for this run

name: lint
on:
pull_request:
paths:
- '**.hpp'
permissions:
contents: read
jobs:
format_code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Install clang-format
uses: aminya/setup-cpp@290824452986e378826155f3379d31bce8753d76 # v0.37.0
with:
clangformat: 17.0.5
- name: Run clang-format
run: |
find include -name '*.hpp' | xargs clang-format -i -style=file -fallback-style=none
git diff --exit-code