ci: remove unused init-python action

This commit is contained in:
sithlord48
2024-12-18 15:14:23 -05:00
committed by Nick Bolton
parent f8ddafe4a2
commit d9727e60bc

View File

@ -1,23 +0,0 @@
# Important: Do not be tempted to cache the .venv dir (Python virtual environment).
# When the runner environment changes (e.g. Python is upgraded), the venv will need to be
# re-created. Trying to upgrade a venv can be complex and it's usually more practical re-create it.
# We don't save much time anyway by caching the venv so it's not worth the added complexity.
name: "Setup Python venv"
description: "Creates a Python virtual environment (venv)"
runs:
using: "composite"
steps:
- name: Setup Python venv
run: |
if [ "${{ runner.os }}" == "Windows" ]; then
python=python
else
python=python3
fi
echo "Setting up Python venv, bin=$python"
$python -m venv .venv
shell: bash