Skip to content

Cleanup

Cleanup #212

Workflow file for this run

name: Code Style
on: [pull_request]
jobs:
formatting:
name: CMake
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo pip install cmake-format black
- name: Clang Format
run: ./script/clang-format --check
- name: CMake Format
run: |
find . -name 'CMakeLists.txt' -o -name '*.cmake' > cmake-src
xargs cmake-format --check < cmake-src
- name: Black
run: |
black --check .