diff --git a/.github/workflows/typing.yml b/.github/workflows/typing.yml index b7a866a3..8c60b3b1 100644 --- a/.github/workflows/typing.yml +++ b/.github/workflows/typing.yml @@ -15,20 +15,20 @@ jobs: - '3.11' - '3.12' - '3.13' - runs-on: 'ubuntu-22.04' + runs-on: 'ubuntu-24.04' steps: - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.py }} - allow-prereleases: ${{ matrix.py == '3.13' && true || false }} - - uses: actions/checkout@v4 + - name: Install uv + uses: astral-sh/setup-uv@v3 + with: + version: "0.4.29" - name: Install Dependencies run: | - python -m pip install --require-hashes -r ci/requirements.txt + uv venv --python ${{ matrix.py }} venv + source venv/bin/activate + uv pip install -r ci/requirements.txt - name: Run mypy run: | - mypy tests/*.py zstandard/*.py + venv/bin/mypy tests/*.py zstandard/*.py