Repository navigation
fix(api): retry a 503 only with Retry-After, and honor Retry-After #2596
This file contains hidden or 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
| name: Ruff - Checks | |
| on: push | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | |
| - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 | |
| with: | |
| python-version: "3.12" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1 | |
| with: | |
| version: "0.12.24" | |
| enable-cache: true | |
| cache-dependency-glob: "uv.lock" | |
| - name: Install the project | |
| run: uv sync --locked --all-extras --dev | |
| # Use the ruff version pinned in uv.lock rather than uvx's latest release, | |
| # so lint results only change when the lockfile is intentionally updated. | |
| - name: Ruff livekit-api | |
| run: uv run ruff check --output-format=github . | |
| - name: Check format | |
| run: uv run ruff format --check . |