From 10d69b90725f98ad683bd4ad75d64092eb57dfc6 Mon Sep 17 00:00:00 2001 From: cxhello Date: Thu, 12 Mar 2026 17:17:16 +0800 Subject: [PATCH 1/2] ci: update Python matrix from 3.9 to 3.10+ Both branches use PEP 604 union type syntax (X | None) which requires Python 3.10+. Update smoke-test matrix to ['3.10', '3.12', '3.13']. Signed-off-by: cxhello --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c3199e..e162b83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9', '3.11', '3.13'] + python-version: ['3.10', '3.12', '3.13'] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 From 4307868343519108a8a0c152ae916fa343d8a9fe Mon Sep 17 00:00:00 2001 From: cxhello Date: Thu, 12 Mar 2026 17:59:28 +0800 Subject: [PATCH 2/2] ci: scope trigger branches to feature/v2 only Each branch maintains its own CI config with branch-specific triggers to avoid cross-branch workflow interference. Signed-off-by: cxhello --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e162b83..2bca5b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [master, feature/v2] + branches: [feature/v2] pull_request: - branches: [master, feature/v2] + branches: [feature/v2] jobs: lint: