update base container, use gh200 container builder, remove clang #2923
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |