Fixes #1768.
This PR explicitly sets up a virtual environment instead of using uv, as suggested here, for the following reasons:
- It does not require granting a third-party action access to the repository.
- This approach is already used in other parts of the CI framework (it’s unclear why it was missed in #1359 in the first place).