From 788546a730a9a20cbfd960666383cd44f80d5c2b Mon Sep 17 00:00:00 2001 From: Parneet Sidhu <99793808+parneetsingh022@users.noreply.github.com> Date: Thu, 18 Dec 2025 22:23:15 -0800 Subject: [PATCH] Refactor Python setup in README for clarity --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7da429e..e55ee68 100644 --- a/README.md +++ b/README.md @@ -78,10 +78,7 @@ def test_matrix(): checkout() # Use the matrix variable in your step arguments - uses( - "actions/setup-python@v5", - with_args={"python-version": "${{ matrix.python }}"} - ) + setup_python("${{ matrix.python }}", cache="pip") run("pip install .[dev]") run("pytest") @@ -90,7 +87,7 @@ def test_matrix(): def deploy(): """Build and publish if tests pass.""" checkout() - uses("actions/setup-python@v5", with_args={"python-version": "3.11"}) + setup_python("3.11", cache="pip") run("pip install build twine") run("python -m build")