Skip to content

Update github workflows #1581

Update github workflows

Update github workflows #1581

Workflow file for this run

name: Check Types
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
type-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
submodules: recursive
- name: Set up Python 3.9
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: 3.14
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Install the project
run: uv sync --all-extras --dev
- name: Install workspace packages
run: uv pip install -e livekit-protocol -e livekit-api -e livekit-rtc
- name: Download ffi
run: uv run python livekit-rtc/rust-sdks/download_ffi.py --output .venv/lib/python3.9/site-packages/livekit/rtc/resources
- name: Check Types
run: uv run mypy livekit-protocol livekit-api livekit-rtc