π CHORE: Bump examples submodule to dotflow 1.0.0 #267
Workflow file for this run
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: π Code Quality | |
| on: | |
| pull_request: | |
| branches: ["main", "develop", "master", "pypi"] | |
| workflow_dispatch: | |
| workflow_call: | |
| jobs: | |
| code-quality: | |
| name: Code Quality Checks | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - name: π₯ Checkout code | |
| uses: actions/checkout@v4 | |
| - name: π¦ Setup Poetry | |
| uses: ./.github/actions/setup-poetry | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| install-deps: dev,code-quality | |
| - name: π Ruff (Linting) | |
| run: | | |
| poetry run ruff check --config=.code_quality/ruff.toml dotflow/ tests/ | |
| - name: π¨ Ruff (Format Check) | |
| run: | | |
| poetry run ruff format --check --config=.code_quality/ruff.toml dotflow/ tests/ | |
| - name: π Flake8 | |
| run: | | |
| poetry run flake8 --config=.code_quality/.flake8 dotflow/ tests/ || true | |
| - name: π MyPy (Type Checking) | |
| run: | | |
| poetry run mypy --config-file=.code_quality/mypy.ini dotflow/ tests/ || true | |
| - name: β Code Quality Summary | |
| if: always() | |
| run: | | |
| echo "### Code Quality Checks Completed β " >> $GITHUB_STEP_SUMMARY | |
| echo "" >> $GITHUB_STEP_SUMMARY | |
| echo "Python Version: ${{ matrix.python-version }}" >> $GITHUB_STEP_SUMMARY | |
| echo "All code quality tools have been executed." >> $GITHUB_STEP_SUMMARY |