chore: update python support range to 3.10-3.14 #1
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: Quality Checks | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| quality: | |
| name: Lint, Type Check and Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| cache: 'pip' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev]" | |
| - name: Ruff Check (Lint) | |
| run: ruff check postalkit/ tests/ | |
| - name: Ruff Format (Style) | |
| run: ruff format --check postalkit/ tests/ | |
| - name: Pyright (Type Check) | |
| run: | | |
| pip install pyright | |
| pyright postalkit/ | |
| - name: Pytest (Unit Tests) | |
| run: pytest tests/ |