.github/workflows/typing.yml #1739
This file contains 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
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '30 13 * * *' | |
jobs: | |
mypy: | |
strategy: | |
fail-fast: false | |
matrix: | |
py: | |
- '3.8' | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
- '3.13' | |
runs-on: 'ubuntu-24.04' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
version: "0.4.29" | |
- name: Install Dependencies | |
run: | | |
uv venv --python ${{ matrix.py }} venv | |
source venv/bin/activate | |
uv pip install -r ci/requirements.txt | |
- name: Run mypy | |
run: | | |
venv/bin/mypy tests/*.py zstandard/*.py |