Skip to content

format cmake files (#975) #2456

format cmake files (#975)

format cmake files (#975) #2456

Workflow file for this run

name: Check code formatting
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
check_format:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: DoozyX/clang-format-lint-action@v0.18
with:
source: '.'
exclude: '*/third_party'
extensions: 'h,cpp,js,ts,html'
clangFormatVersion: 18
- uses: psf/black@stable
with:
options: "--check --verbose"
src: "./bindings/python/examples"
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- name: "gersemi cmake check"
run: |
pip3 install gersemi
./scripts/gersemi-check.sh