From ee47a6bdd6b8d1e8325b8743bd4c3dc0f636511b Mon Sep 17 00:00:00 2001 From: Cuiys Date: Sat, 28 Feb 2026 16:43:31 +0800 Subject: [PATCH 1/2] fix: fix main ci only trigger linux64 platform --- .github/workflows/main.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0e9eab62..237b25a4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -70,14 +70,13 @@ jobs: # Build and test matrix (parallel execution) build-and-test: - name: Build & Test (${{ matrix.platform }}, py${{ matrix.python-version }}) + name: Build & Test (${{ matrix.platform }} needs: lint runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - python-version: ['3.10'] include: - os: macos-15 platform: macos-arm64 @@ -98,7 +97,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: ${{ matrix.python-version }} + python-version: '3.10' cache: 'pip' cache-dependency-path: 'pyproject.toml' From caf7dad92c4fab6f28ff30896943e6d799059922 Mon Sep 17 00:00:00 2001 From: Cuiys Date: Sat, 28 Feb 2026 16:45:03 +0800 Subject: [PATCH 2/2] Fix YAML syntax for build-and-test job name --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 237b25a4..abfd4d73 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -70,7 +70,7 @@ jobs: # Build and test matrix (parallel execution) build-and-test: - name: Build & Test (${{ matrix.platform }} + name: Build & Test (${{ matrix.platform }}) needs: lint runs-on: ${{ matrix.os }}