Skip to content

Map 400 to 401 on s2s #1

Map 400 to 401 on s2s

Map 400 to 401 on s2s #1

Workflow file for this run

name: Type Check & Lint
on:
pull_request:
branches:
- main
jobs:
lint-and-typecheck:
name: Lint & Type Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
version: "0.9.27"
enable-cache: true
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version-file: ".python-version"
- name: Install dependencies
run: uv sync --dev --all-extras
- name: Ruff check
run: |
uv run ruff check || exit 1
uv run ruff format --check || exit 1
- name: Pyright
run: uv run pyright .