Skip to content

πŸ—οΈ Updated build scripts as well. #392

πŸ—οΈ Updated build scripts as well.

πŸ—οΈ Updated build scripts as well. #392

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: 18
# Python part
- name: πŸ—οΈ python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: ⬇️ Python Poetry
uses: pdm-project/setup-pdm@v3
- name: ⬇️ Python Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.4
installer-parallel: true
- name: πŸƒ autoflake, isort, black
working-directory: ./python
run: |
poetry run autoflake --check .
poetry run isort --check .
poetry run black --check .