Skip to content

cherry pick from Giovani's @gcistaro branch #2927

cherry pick from Giovani's @gcistaro branch

cherry pick from Giovani's @gcistaro branch #2927

Workflow file for this run

name: Check source code formatting
on:
push:
branches: ['master', 'develop']
pull_request:
branches: ['master', 'develop']
jobs:
check:
runs-on: ubuntu-latest
container: zhongruoyu/llvm-ports:18.1.8-slim-bullseye
steps:
- uses: actions/checkout@v4
- name: Check .cpp and .hpp files
run: |
find ./src -name \*.cpp -o -name \*.hpp ! -name nlohmann_json.hpp ! -name lebedev_grids.hpp ! -name config.hpp | python3 check_format.py
find ./apps -name \*.cpp -o -name \*.hpp | python3 check_format.py
find ./python_module -maxdepth 1 -name \*.cpp -o -name \*.hpp | python3 check_format.py