Skip to content

chore: 发版准备 — 修 bug + LICENSE + CI + lint 清理 #1

chore: 发版准备 — 修 bug + LICENSE + CI + lint 清理

chore: 发版准备 — 修 bug + LICENSE + CI + lint 清理 #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python
run: uv python install 3.12
- name: Install dependencies
run: uv sync --dev
- name: Lint
run: uv run ruff check src/ tests/
- name: Test
run: uv run pytest tests/ -v --tb=short