mirror of
				https://kkgithub.com/actions/setup-python.git
				synced 2025-10-31 10:41:52 +08: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:
		| @ -21,7 +21,7 @@ steps: | |||||||
| - uses: actions/checkout@v4 | - uses: actions/checkout@v4 | ||||||
| - uses: actions/setup-python@v5 | - uses: actions/setup-python@v5 | ||||||
|   with: |   with: | ||||||
|     python-version: '3.10'  |     python-version: '3.12'  | ||||||
| - run: python my_script.py | - run: python my_script.py | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| @ -31,7 +31,7 @@ steps: | |||||||
| - uses: actions/checkout@v4 | - uses: actions/checkout@v4 | ||||||
| - uses: actions/setup-python@v5  | - uses: actions/setup-python@v5  | ||||||
|   with: |   with: | ||||||
|     python-version: 'pypy3.9'  |     python-version: 'pypy3.10'  | ||||||
| - run: python my_script.py | - run: python my_script.py | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| @ -41,7 +41,7 @@ steps: | |||||||
| - uses: actions/checkout@v4 | - uses: actions/checkout@v4 | ||||||
| - uses: actions/setup-python@v5  | - uses: actions/setup-python@v5  | ||||||
|   with: |   with: | ||||||
|     python-version: 'graalpy-22.3'  |     python-version: 'graalpy-24.0'  | ||||||
| - run: python my_script.py | - run: python my_script.py | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| @ -76,7 +76,7 @@ steps: | |||||||
| - uses: actions/checkout@v4 | - uses: actions/checkout@v4 | ||||||
| - uses: actions/setup-python@v5 | - uses: actions/setup-python@v5 | ||||||
|   with: |   with: | ||||||
|     python-version: '3.9' |     python-version: '3.12' | ||||||
|     cache: 'pip' # caching pip dependencies |     cache: 'pip' # caching pip dependencies | ||||||
| - run: pip install -r requirements.txt | - run: pip install -r requirements.txt | ||||||
| ``` | ``` | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Jeff Widman
					Jeff Widman