Skip to content

try ty

try ty #83

Workflow file for this run

name: Lint
on:
push:
branches:
- main
- master
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Install dependencies
run: |
uv python install
# Update output format to enable automatic inline annotations.
- name: Run Ruff
run: uvx ruff check --output-format=github . && uvx ruff format --check
- name: Run Mypy
run: uv tool install ty && ty check .