fix: replace hardcoded /opt/python-3.12 path with actions/setup-python

The RISE riscv64 runner image was rebuilt on 2026-04-22 and no longer
ships /opt/python-3.12. Use actions/setup-python@v5 instead.

Signed-off-by: Bruno Verachten <gounthar@gmail.com>
This commit is contained in:
Bruno Verachten 2026-05-03 22:15:28 +02:00
parent e48d75a718
commit 3b8e9e488b
No known key found for this signature in database
GPG Key ID: AA2E70175A678CE2

View File

@ -153,7 +153,10 @@ jobs:
key: bcrypt-riscv64-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
bcrypt-riscv64-cargo-
- run: /opt/python-3.12/bin/python3.12 -m venv .venv
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python3 -m venv .venv
- name: Install python dependencies
run: .venv/bin/pip install -U pip wheel setuptools-rust auditwheel
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c