From c4e89fac7e8767b327bbad6cb4d859eda999cf08 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 7 Jul 2022 22:34:44 +0100 Subject: [PATCH] Improve readme for 3.x and 3.11-dev style python-version (#441) --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 9450020..6e178e2 100644 --- a/README.md +++ b/README.md @@ -127,6 +127,26 @@ steps: - run: python my_script.py ``` +Download and set up the latest patch version of Python (for specified major & minor versions): +```yaml +steps: +- uses: actions/checkout@v3 +- uses: actions/setup-python@v4 + with: + python-version: '3.11-dev' +- run: python my_script.py +``` + +Download and set up the latest stable version of Python (for specified major version): +```yaml +steps: +- uses: actions/checkout@v3 +- uses: actions/setup-python@v4 + with: + python-version: '3.x' +- run: python my_script.py +``` + Download and set up PyPy: ```yaml