Skip to content

๐Ÿชบ Nested structural decomposition is ok as well. #383

๐Ÿชบ Nested structural decomposition is ok as well.

๐Ÿชบ Nested structural decomposition is ok as well. #383

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/[email protected]
with:
source: ./cpp
extensions: h,c,hpp,cpp
clangFormatVersion: 17
# 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 .