chore(deps): update actions/setup-python action to v6 #273
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - run: pip install uv | |
| - run: uv venv | |
| - run: uv sync | |
| - run: uv run pytest --cov=./prosemirror/ | |
| - run: uv run codecov | |
| if: matrix.python-version == '3.11' | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - run: pip install uv | |
| - run: uv venv | |
| - run: uv sync | |
| - run: uv run ruff format --check prosemirror tests | |
| - run: uv run ruff check prosemirror tests | |
| - run: uv run pyright prosemirror |