Skip to content

Update github workflows #1739

Update github workflows

Update github workflows #1739

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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
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@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
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