Skip to content

πŸ‘₯ Added regroup to clang-format. #377

πŸ‘₯ Added regroup to clang-format.

πŸ‘₯ Added regroup to clang-format. #377

Workflow file for this run

name: Format
on: [push]
jobs:
format-check:
name: πŸ“€ Formatting
runs-on: ubuntu-latest
steps:
# Global part
- name: πŸ”” Check out
uses: actions/checkout@v3
# C++ part
- name: πŸ—οΈ πŸƒ clang-format
uses: DoozyX/clang-format-lint-action@v0.14
with:
source: ./cxx
extensions: h,c,hxx,cxx
clangFormatVersion: 14
# Python part
- name: πŸ—οΈ python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: ⬇️ Python PDM
uses: pdm-project/setup-pdm@v3
- name: ⬇️ Python Dependencies
run: pdm install
working-directory: ./python
- name: πŸš‚ Activate environment
run: echo "$(pdm venv --path in-project)/bin" >> $GITHUB_PATH
working-directory: ./python
- name: πŸƒ autoflake, isort, black
working-directory: ./python
run: |
autoflake --check .
isort --check .
black --check .