Skip to content

Remove uv.lock and upgrade notebook (#7) #27

Remove uv.lock and upgrade notebook (#7)

Remove uv.lock and upgrade notebook (#7) #27

Workflow file for this run

name: Lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
workflow_call:
jobs:
lint:
name: Lint and Format Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Install dependencies
run: |
uv sync --extra dev
- name: Run ruff linter
run: |
uv run ruff check src/ tests/
- name: Run ruff formatter check
run: |
uv run ruff format --check src/ tests/
- name: Run ty type checking
run: |
uv run ty check
continue-on-error: true