1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-11-24 17:38:52 +00:00

Bump default versions to latest (#905)

People copy/paste these values all the time... might as well start them off on the right foot with a modern default.
This commit is contained in:
Jeff Widman 2024-10-04 09:28:10 -07:00 committed by GitHub
parent e9675cc634
commit 19dfb7b659
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,7 +21,7 @@ steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'
- run: python my_script.py
```
@ -31,7 +31,7 @@ steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 'pypy3.9'
python-version: 'pypy3.10'
- run: python my_script.py
```
@ -41,7 +41,7 @@ steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 'graalpy-22.3'
python-version: 'graalpy-24.0'
- run: python my_script.py
```
@ -76,7 +76,7 @@ steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.12'
cache: 'pip' # caching pip dependencies
- run: pip install -r requirements.txt
```