Skip to content

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

feat: use pyproject.toml and uv publish pkg

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

Workflow file for this run

name: lint
on: [push, pull_request]
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- 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: lint
run: |
uv run pytest -s tests/
uv build
- name: build
run: |
uv build