Repository navigation
Update ruff requirement from >=0.16.3 to >=0.16.5 #29
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: | |
| pull_request: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out the repository | |
| uses: actions/checkout@v7 | |
| - name: Set up Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.14" | |
| cache: pip | |
| cache-dependency-path: pyproject.toml | |
| - name: Install the package and development tools | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install --group dev -e . | |
| - name: Lint | |
| run: ruff check . | |
| - name: Check formatting | |
| run: ruff format --check . | |
| - name: Type check | |
| run: mypy | |
| - name: Test | |
| run: pytest | |
| - name: Build distributions | |
| run: python -m build | |
| - name: Validate distributions | |
| run: python -m twine check dist/* | |
| - name: Smoke test the wheel | |
| run: | | |
| python -m pip install --force-reinstall --no-deps dist/*.whl | |
| python -m template_python Codex |