name: CI on: push: branches: [ main, develop ] concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: ci: name: Lint, Typecheck & Test runs-on: ubuntu-latest steps: - uses: http://gitea:3000/zhou/checkout.git@main - uses: http://gitea:3000/zhou/setup-uv.git@v8.1.0 with: uv-version: "0.5.21" # 或 "0.6.0" 等你需要的版本 enable-cache: true - uses: http://gitea:3000/zhou/setup-python.git@v6 with: python-version: | 3.8 3.13 - run: uv sync - run: uv run ruff check src tests - run: uv run pyrefly check . - run: uvx tox run -e py38,py313