aebb4fce68
CI / Lint, Typecheck & Test (push) Failing after 36s
更新了checkout、setup-uv、setup-python这几个action的引用标签,从固定版本改为使用main分支
32 lines
656 B
YAML
32 lines
656 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@main
|
|
|
|
- uses: http://gitea:3000/zhou/setup-uv.git@main
|
|
with:
|
|
enable-cache: true
|
|
|
|
- uses: http://gitea:3000/zhou/setup-python.git@main
|
|
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
|