Files
zhou 7784c8ff86
CI / Lint, Typecheck & Test (push) Failing after 2m45s
ci: 将github actions源替换为内部gitea仓库地址
2026-07-02 20:53:56 +08:00

32 lines
654 B
YAML

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@v4
- uses: http://gitea:3000/zhou/setup-uv.git@v8.1.0
with:
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