docs: recommend to use bubblify or form to generate spheres #641
This file contains hidden or 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: Lint | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - dev | |
| pull_request: | |
| branches: | |
| - master | |
| - dev | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v2 | |
| - name: Set up Python 3.8 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.8 | |
| - name: pip install formatters | |
| run: | | |
| pip3 install black==22.6.0 isort flake8 autoflake codespell | |
| - name: install clang-format | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install clang-format-14 | |
| clang-format --version | |
| - name: check | |
| run: | | |
| bash format.sh | |
| - name: Fail if format.sh modified files | |
| run: | | |
| if ! git diff --quiet; then | |
| echo "::error::Files are not properly formatted. Please run ./format.sh locally and commit the changes." | |
| echo "--- git diff (summary) ---" | |
| git --no-pager diff | |
| exit 1 | |
| fi |