chore(deps): Bump mistune from 3.2.0 to 3.2.1 (#1019) #126
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: dapr-python-dev | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.10' | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install dependencies | |
| run: uv sync --frozen --all-packages --group dev | |
| - name: Run Autoformatter | |
| run: | | |
| uv run ruff check --fix && uv run ruff format | |
| statusResult=$(git status -u --porcelain) | |
| if [ -z "$statusResult" ] | |
| then | |
| exit 0 | |
| else | |
| echo "Source files are not formatted correctly. Run 'uv run ruff check --fix && uv run ruff format'." | |
| exit 1 | |
| fi | |
| build: | |
| needs: lint | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python_ver: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python ${{ matrix.python_ver }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python_ver }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install dependencies | |
| run: uv sync --frozen --all-packages --group dev | |
| - name: Check Typing | |
| run: uv run mypy | |
| - name: Run unit-tests | |
| run: | | |
| uv run coverage run -m pytest tests ext -m "not e2e" --ignore=tests/integration --ignore=tests/examples --import-mode=importlib | |
| uv run coverage xml | |
| - name: Upload test coverage | |
| uses: codecov/codecov-action@v6 | |
| publish: | |
| needs: build | |
| if: github.event_name != 'pull_request' | |
| runs-on: ubuntu-latest | |
| env: | |
| TWINE_USERNAME: "__token__" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.10' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install build twine | |
| - name: Build and publish Dapr Python SDK | |
| env: | |
| TWINE_PASSWORD: ${{ secrets.PYPI_UPLOAD_PASS }} | |
| run: | | |
| python -m build | |
| twine upload dist/* | |
| - name: Build and publish dapr-ext-workflow | |
| env: | |
| TWINE_PASSWORD: ${{ secrets.PYPI_UPLOAD_PASS }} | |
| run: | | |
| cd ext/dapr-ext-workflow | |
| python -m build | |
| twine upload dist/* | |
| - name: Build and publish Dapr Flask Extension | |
| env: | |
| TWINE_PASSWORD: ${{ secrets.PYPI_UPLOAD_PASS }} | |
| run: | | |
| cd ext/flask_dapr | |
| python -m build | |
| twine upload dist/* | |
| - name: Build and publish dapr-ext-grpc | |
| env: | |
| TWINE_PASSWORD: ${{ secrets.PYPI_UPLOAD_PASS }} | |
| run: | | |
| cd ext/dapr-ext-grpc | |
| python -m build | |
| twine upload dist/* | |
| - name: Build and publish dapr-ext-fastapi | |
| env: | |
| TWINE_PASSWORD: ${{ secrets.PYPI_UPLOAD_PASS }} | |
| run: | | |
| cd ext/dapr-ext-fastapi | |
| python -m build | |
| twine upload dist/* | |
| - name: Build and publish dapr-ext-langgraph | |
| env: | |
| TWINE_PASSWORD: ${{ secrets.PYPI_UPLOAD_PASS }} | |
| run: | | |
| cd ext/dapr-ext-langgraph | |
| python -m build | |
| twine upload dist/* | |
| - name: Build and publish dapr-ext-strands | |
| env: | |
| TWINE_PASSWORD: ${{ secrets.PYPI_UPLOAD_PASS }} | |
| run: | | |
| cd ext/dapr-ext-strands | |
| python -m build | |
| twine upload dist/* |