mirror of
https://github.com/snowy-yang/qqbotsdk.git
synced 2026-10-21 09:05:21 +00:00
build: Python 基线降至 3.12,CI 改 3.12/3.13 双版本矩阵
PEP 695 type 语句、typing.override 等既有写法本就 3.12 可用,代码零 改动;pyproject/ruff/pyright 目标版本同步 py312,README 与 GUIDE 的 版本要求更新,uv.lock 随 requires-python 重新解析。
This commit is contained in:
1 parent
0fa63d564b
commit
febeb95d7c
6 files changed
+132
-8
No files matched your search
@@ -10,14 +10,17 @@ jobs:
|
||||
lint:
|
||||
name: ruff + pyright + pytest
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.12", "3.13"]
|
||||
steps:
|
||||
- name: 检出代码
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: 安装 uv 与 Python 3.13
|
||||
- name: 安装 uv 与 Python ${{ matrix.python-version }}
|
||||
uses: astral-sh/setup-uv@v5
|
||||
with:
|
||||
python-version: "3.13"
|
||||
python-version: ${{ matrix.python-version }}
|
||||
enable-cache: true
|
||||
|
||||
- name: 同步依赖(含 dev 组)
|
||||
|
||||
Reference in new issue
Block a user