Skip to content

feat: use pyproject.toml and uv publish pkg #5

feat: use pyproject.toml and uv publish pkg

feat: use pyproject.toml and uv publish pkg #5

Workflow file for this run

name: lint
on: [push, pull_request]
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4 # 拉取最新代码
- name: Set up python
uses: actions/setup-python@v5
with:
python-version: "3.10.12" # 选择您的 Python 版本
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Lint
run: |
uv sync
uv run ruff check
- name: Test
run: |
uv run pytest -s tests/
uv build
- name: Build
run: |
uv build