Skip to content

Use uv instead of pip in github actions #537

Use uv instead of pip in github actions

Use uv instead of pip in github actions #537

Workflow file for this run

name: Type checking
on:
push:
branches:
- main
tags: "*"
pull_request:
env:
UV_SYSTEM_PYTHON: 1
jobs:
type-checking:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
python-version: ['3.12']
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
cache-dependency-glob: pyproject.toml
- name: Install semeio and dependencies
run: |
uv pip install ".[types]"
- name: Run mypy
run: |
mypy src/semeio