Skip to content

feat: enhance hooks management with install, uninstall, and run options #30

feat: enhance hooks management with install, uninstall, and run options

feat: enhance hooks management with install, uninstall, and run options #30

Workflow file for this run

name: CMake Format Check
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
cmake-format:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Common CI setup
uses: ./.github/actions/common-ci
with:
python-version: "3.x"
- name: Install cmake-format
run: pip install cmake-format
- name: Run cmake-format check
run: |
files=$(git ls-files '*.cmake' 'CMakeLists.txt' 'libs/**/CMakeLists.txt' 'apps/**/CMakeLists.txt' || true)
if [ -n "$files" ]; then
cmake-format -c .cmake-format --check $files
fi