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 container: image: pyflowx-ci:latest env: UV_LINK_MODE: copy # ---- 国内源 ---- PIP_INDEX_URL: https://pypi.tuna.tsinghua.edu.cn/simple PIP_TRUSTED_HOST: pypi.tuna.tsinghua.edu.cn UV_INDEX_URL: https://pypi.tuna.tsinghua.edu.cn/simple UV_TRUSTED_HOST: pypi.tuna.tsinghua.edu.cn steps: - uses: http://gitea:3000/zhou/checkout.git@main - name: Sync dependencies run: uv sync --frozen - name: Ruff check run: ruff check src tests - name: Tox test (py38, py313) run: uvx tox run -e py38,py313