Skip to content

Commit 62b1423

Browse files
nficanoclaude
andcommitted
ci: install Python via uv (setup-python lacks linux-arm64 builds)
actions/setup-python resolves interpreters from the python-versions manifest, which has no linux-arm64 entries for self-hosted runners. uv installs python-build-standalone builds, which ship arm64. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 2eed779 commit 62b1423

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ jobs:
5656
enable-cache: true
5757
cache-dependency-glob: "uv.lock"
5858

59+
# actions/setup-python has no linux-arm64 builds for self-hosted
60+
# runners; uv installs python-build-standalone, which ships arm64.
5961
- name: Set up Python ${{ matrix.python-version }}
60-
uses: actions/setup-python@v6
61-
with:
62-
python-version: ${{ matrix.python-version }}
62+
run: uv python install ${{ matrix.python-version }}
6363

6464
- name: Install project
65-
run: uv sync --frozen --all-extras --dev
65+
run: uv sync --frozen --all-extras --dev --python ${{ matrix.python-version }}
6666

6767
- name: Ruff lint
6868
run: uv run ruff check .

0 commit comments

Comments
 (0)