mirror of
https://github.com/actions/setup-python
synced 2026-11-10 21:07:57 +01:00
Update latest python versions
This commit is contained in:
1 parent
6d4fd22b20
commit
a2c534249d
4 files changed
+38
-147
No files matched your search
@@ -32,7 +32,7 @@ jobs:
|
|||||||
macos-latest
|
macos-latest
|
||||||
]
|
]
|
||||||
python-version:
|
python-version:
|
||||||
['3.10', '3.11', 'pypy-3.11-v7.x', '3.12', '3.13', '3.14']
|
['3.11', 'pypy-3.11-v7.x', '3.12', '3.13', '3.14', '3.15']
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
python-version: pypy-3.11-v7.x
|
python-version: pypy-3.11-v7.x
|
||||||
@@ -67,7 +67,7 @@ jobs:
|
|||||||
macos-15-intel,
|
macos-15-intel,
|
||||||
macos-latest
|
macos-latest
|
||||||
]
|
]
|
||||||
python-version: ['3.11', 'pypy-3.11-v7.x', '3.12', '3.13', '3.14']
|
python-version: ['3.11', 'pypy-3.11-v7.x', '3.12', '3.13', '3.14', '3.15']
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
python-version: pypy-3.11-v7.x
|
python-version: pypy-3.11-v7.x
|
||||||
@@ -120,7 +120,7 @@ jobs:
|
|||||||
macos-latest
|
macos-latest
|
||||||
]
|
]
|
||||||
python-version:
|
python-version:
|
||||||
['3.10', '3.11', 'pypy-3.11-v7.x', '3.12', '3.13', '3.14']
|
['3.11', 'pypy-3.11-v7.x', '3.12', '3.13', '3.14', '3.15']
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
python-version: pypy-3.11-v7.x
|
python-version: pypy-3.11-v7.x
|
||||||
@@ -128,8 +128,6 @@ jobs:
|
|||||||
python-version: pypy-3.11-v7.x
|
python-version: pypy-3.11-v7.x
|
||||||
- os: windows-11-arm
|
- os: windows-11-arm
|
||||||
python-version: pypy-3.11-v7.x
|
python-version: pypy-3.11-v7.x
|
||||||
- os: windows-11-arm
|
|
||||||
python-version: '3.10'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Install poetry
|
- name: Install poetry
|
||||||
@@ -166,14 +164,12 @@ jobs:
|
|||||||
macos-latest
|
macos-latest
|
||||||
]
|
]
|
||||||
python-version:
|
python-version:
|
||||||
['3.10', '3.11', 'pypy-3.11-v7.x', '3.12', '3.13', '3.14']
|
['3.11', 'pypy-3.11-v7.x', '3.12', '3.13', '3.14', '3.15']
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
python-version: pypy-3.11-v7.x
|
python-version: pypy-3.11-v7.x
|
||||||
- os: windows-11-arm
|
- os: windows-11-arm
|
||||||
python-version: pypy-3.11-v7.x
|
python-version: pypy-3.11-v7.x
|
||||||
- os: windows-11-arm
|
|
||||||
python-version: '3.10'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
@@ -201,7 +197,7 @@ jobs:
|
|||||||
macos-15-intel,
|
macos-15-intel,
|
||||||
macos-latest
|
macos-latest
|
||||||
]
|
]
|
||||||
python-version: ['3.11', 'pypy-3.11-v7.x', '3.12', '3.13', '3.14']
|
python-version: ['3.11', 'pypy-3.11-v7.x', '3.12', '3.13', '3.14', '3.15']
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
python-version: pypy-3.11-v7.x
|
python-version: pypy-3.11-v7.x
|
||||||
@@ -254,10 +250,7 @@ jobs:
|
|||||||
macos-15-intel,
|
macos-15-intel,
|
||||||
macos-latest
|
macos-latest
|
||||||
]
|
]
|
||||||
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
|
python-version: ['3.11', '3.12', '3.13', '3.14', '3.15']
|
||||||
exclude:
|
|
||||||
- os: windows-11-arm
|
|
||||||
python-version: '3.10'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
@@ -285,10 +278,7 @@ jobs:
|
|||||||
macos-15-intel,
|
macos-15-intel,
|
||||||
macos-latest
|
macos-latest
|
||||||
]
|
]
|
||||||
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
|
python-version: ['3.11', '3.12', '3.13', '3.14', '3.15']
|
||||||
exclude:
|
|
||||||
- os: windows-11-arm
|
|
||||||
python-version: '3.10'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
|
|||||||
@@ -31,14 +31,14 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
|
||||||
- name: Run with setup-python 3.10.11
|
- name: Run with setup-python 3.15.2
|
||||||
if: matrix.operating-system != 'windows-11-arm'
|
if: matrix.operating-system != 'windows-11-arm'
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
python-version: 3.10.11
|
python-version: 3.15.2
|
||||||
- name: Verify 3.10.11
|
- name: Verify 3.15.2
|
||||||
if: matrix.operating-system != 'windows-11-arm'
|
if: matrix.operating-system != 'windows-11-arm'
|
||||||
run: python __tests__/verify-python.py 3.10.11
|
run: python __tests__/verify-python.py 3.15.2
|
||||||
|
|
||||||
- name: Run with setup-python 3.11.9
|
- name: Run with setup-python 3.11.9
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|||||||
@@ -14,43 +14,6 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup-versions-from-manifest:
|
|
||||||
name: Setup ${{ matrix.python }} ${{ matrix.os }}
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os:
|
|
||||||
[
|
|
||||||
ubuntu-22.04,
|
|
||||||
ubuntu-latest,
|
|
||||||
ubuntu-24.04-arm,
|
|
||||||
windows-latest,
|
|
||||||
windows-11-arm,
|
|
||||||
macos-15-intel,
|
|
||||||
macos-latest
|
|
||||||
]
|
|
||||||
python: [3.13.14t, 3.14.6t]
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
||||||
|
|
||||||
- name: setup-python ${{ matrix.python }}
|
|
||||||
id: setup-python
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
python-version: ${{ matrix.python }}
|
|
||||||
|
|
||||||
- name: Check python-path
|
|
||||||
run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
- name: Verify Python version
|
|
||||||
run: ${{ steps.setup-python.outputs.python-path }} -VVV
|
|
||||||
|
|
||||||
- name: Run simple code
|
|
||||||
run: python -c 'import math; print(math.factorial(5))'
|
|
||||||
|
|
||||||
setup-versions-from-file:
|
setup-versions-from-file:
|
||||||
name: Setup ${{ matrix.python }} ${{ matrix.os }} version file
|
name: Setup ${{ matrix.python }} ${{ matrix.os }} version file
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|||||||
@@ -14,53 +14,6 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup-versions-from-manifest:
|
|
||||||
name: Setup ${{ matrix.python }} ${{ matrix.os }}
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os:
|
|
||||||
[
|
|
||||||
ubuntu-22.04,
|
|
||||||
ubuntu-latest,
|
|
||||||
ubuntu-24.04-arm,
|
|
||||||
windows-latest,
|
|
||||||
windows-11-arm,
|
|
||||||
macos-15-intel,
|
|
||||||
macos-latest
|
|
||||||
]
|
|
||||||
python: [3.10.11, 3.11.9, 3.12.10, 3.13.14, 3.14.6]
|
|
||||||
exclude:
|
|
||||||
- os: windows-11-arm
|
|
||||||
python: 3.10.11
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
||||||
|
|
||||||
- name: setup-python ${{ matrix.python }}
|
|
||||||
id: setup-python
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
python-version: ${{ matrix.python }}
|
|
||||||
|
|
||||||
- name: Check python-path
|
|
||||||
run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
- name: Validate version
|
|
||||||
run: |
|
|
||||||
$pythonVersion = (python --version)
|
|
||||||
if ("Python ${{ matrix.python }}" -ne "$pythonVersion"){
|
|
||||||
Write-Host "The current version is $pythonVersion; expected version is ${{ matrix.python }}"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
$pythonVersion
|
|
||||||
shell: pwsh
|
|
||||||
|
|
||||||
- name: Run simple code
|
|
||||||
run: python -c 'import math; print(math.factorial(5))'
|
|
||||||
|
|
||||||
setup-versions-via-mirror-input:
|
setup-versions-via-mirror-input:
|
||||||
name: 'Setup via explicit mirror input: ${{ matrix.os }}'
|
name: 'Setup via explicit mirror input: ${{ matrix.os }}'
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
@@ -103,10 +56,16 @@ jobs:
|
|||||||
macos-15-intel,
|
macos-15-intel,
|
||||||
macos-latest
|
macos-latest
|
||||||
]
|
]
|
||||||
python: [3.10.11, 3.11.9, 3.12.10, 3.13.14, 3.14.6]
|
python: [3.11.17, 3.12.16, 3.13.14, 3.14.6, 3.15.2]
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-11-arm
|
- os: windows-11-arm
|
||||||
python: 3.10.11
|
python: '3.11.17'
|
||||||
|
- os: windows-11-arm
|
||||||
|
python: '3.12.16'
|
||||||
|
- os: windows-latest
|
||||||
|
python: '3.11.17'
|
||||||
|
- os: windows-latest
|
||||||
|
python: '3.12.16'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
@@ -146,17 +105,13 @@ jobs:
|
|||||||
os:
|
os:
|
||||||
[
|
[
|
||||||
ubuntu-22.04,
|
ubuntu-22.04,
|
||||||
ubuntu-latest,
|
|
||||||
ubuntu-24.04-arm,
|
ubuntu-24.04-arm,
|
||||||
windows-latest,
|
windows-latest,
|
||||||
windows-11-arm,
|
windows-11-arm,
|
||||||
macos-15-intel,
|
macos-15-intel,
|
||||||
macos-latest
|
macos-latest
|
||||||
]
|
]
|
||||||
python: [3.10.11, 3.11.9, 3.12.10, 3.13.14, 3.14.6]
|
python: [3.11.9, 3.12.10, 3.13.14, 3.14.6, 3.15.2]
|
||||||
exclude:
|
|
||||||
- os: windows-11-arm
|
|
||||||
python: 3.10.11
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
@@ -201,10 +156,7 @@ jobs:
|
|||||||
macos-15-intel,
|
macos-15-intel,
|
||||||
macos-latest
|
macos-latest
|
||||||
]
|
]
|
||||||
python: [3.10.11, 3.11.9, '==3.12.10', 3.13.14, 3.14.6]
|
python: [ 3.11.9, '==3.12.10', 3.13.14, 3.14.6, 3.15.2]
|
||||||
exclude:
|
|
||||||
- os: windows-11-arm
|
|
||||||
python: 3.10.11
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
@@ -254,10 +206,7 @@ jobs:
|
|||||||
macos-15-intel,
|
macos-15-intel,
|
||||||
macos-latest
|
macos-latest
|
||||||
]
|
]
|
||||||
python: [3.10.11, 3.11.9, 3.12.10, 3.13.14, 3.14.6]
|
python: [3.11.9, 3.12.10, 3.13.14, 3.14.6, 3.15.2]
|
||||||
exclude:
|
|
||||||
- os: windows-11-arm
|
|
||||||
python: 3.10.11
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
@@ -307,7 +256,7 @@ jobs:
|
|||||||
macos-15-intel,
|
macos-15-intel,
|
||||||
macos-latest
|
macos-latest
|
||||||
]
|
]
|
||||||
python: [pypy3.11-7.3.18, graalpy-24.1.2, 3.13.14, 3.15-dev]
|
python: [pypy3.11-7.3.18, graalpy-24.1.2, 3.13.14, 3.15.2]
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
python: graalpy-24.1.2
|
python: graalpy-24.1.2
|
||||||
@@ -345,10 +294,7 @@ jobs:
|
|||||||
macos-15-intel,
|
macos-15-intel,
|
||||||
macos-latest
|
macos-latest
|
||||||
]
|
]
|
||||||
python: [3.10.11, 3.11.9, 3.13.14, 3.14.6]
|
python: [3.11.9, 3.13.14, 3.14.6, 3.15.2]
|
||||||
exclude:
|
|
||||||
- os: windows-11-arm
|
|
||||||
python: 3.10.11
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
@@ -398,10 +344,7 @@ jobs:
|
|||||||
macos-15-intel,
|
macos-15-intel,
|
||||||
macos-latest
|
macos-latest
|
||||||
]
|
]
|
||||||
python: [3.10.11, 3.11.9, 3.13.14, 3.14.6]
|
python: [3.11.9, 3.13.14, 3.14.6, 3.15.2]
|
||||||
exclude:
|
|
||||||
- os: windows-11-arm
|
|
||||||
python: 3.10.11
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
@@ -436,7 +379,7 @@ jobs:
|
|||||||
run: python -c 'import math; print(math.factorial(5))'
|
run: python -c 'import math; print(math.factorial(5))'
|
||||||
|
|
||||||
setup-pre-release-version-from-manifest:
|
setup-pre-release-version-from-manifest:
|
||||||
name: Setup 3.15.0-beta.3 ${{ matrix.os }}
|
name: Setup 3.16.0-alpha.1 ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -455,11 +398,11 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
|
||||||
- name: setup-python 3.15.0-beta.3
|
- name: setup-python 3.16.0-alpha.1
|
||||||
id: setup-python
|
id: setup-python
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
python-version: '3.15.0-beta.3'
|
python-version: '3.16.0-alpha.1'
|
||||||
|
|
||||||
- name: Check python-path
|
- name: Check python-path
|
||||||
run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'
|
run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'
|
||||||
@@ -468,7 +411,7 @@ jobs:
|
|||||||
- name: Validate version
|
- name: Validate version
|
||||||
run: |
|
run: |
|
||||||
$pythonVersion = (python --version)
|
$pythonVersion = (python --version)
|
||||||
if ("Python 3.15.0b3" -ne "$pythonVersion"){
|
if ("Python 3.16.0a1" -ne "$pythonVersion"){
|
||||||
Write-Host "The current version is $pythonVersion; expected version is 3.15.0b3"
|
Write-Host "The current version is $pythonVersion; expected version is 3.15.0b3"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
@@ -516,7 +459,7 @@ jobs:
|
|||||||
run: python -c 'import math; print(math.factorial(5))'
|
run: python -c 'import math; print(math.factorial(5))'
|
||||||
|
|
||||||
setup-prerelease-version:
|
setup-prerelease-version:
|
||||||
name: Setup 3.15 ${{ matrix.os }}
|
name: Setup 3.16 ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -535,11 +478,11 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
|
||||||
- name: setup-python 3.15
|
- name: setup-python 3.16
|
||||||
id: setup-python
|
id: setup-python
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
python-version: '3.15'
|
python-version: '3.16'
|
||||||
allow-prereleases: true
|
allow-prereleases: true
|
||||||
|
|
||||||
- name: Check python-path
|
- name: Check python-path
|
||||||
@@ -547,7 +490,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Validate version
|
- name: Validate version
|
||||||
run: ${{ startsWith(steps.setup-python.outputs.python-version, '3.15.') }}
|
run: ${{ startsWith(steps.setup-python.outputs.python-version, '3.16.') }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Run simple code
|
- name: Run simple code
|
||||||
@@ -569,10 +512,7 @@ jobs:
|
|||||||
macos-15-intel,
|
macos-15-intel,
|
||||||
macos-latest
|
macos-latest
|
||||||
]
|
]
|
||||||
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
|
python: ['3.11', '3.12', '3.13', '3.14', '3.15']
|
||||||
exclude:
|
|
||||||
- os: windows-11-arm
|
|
||||||
python: '3.10'
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
@@ -605,10 +545,7 @@ jobs:
|
|||||||
macos-15-intel,
|
macos-15-intel,
|
||||||
macos-latest
|
macos-latest
|
||||||
]
|
]
|
||||||
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
|
python-version: ['3.11', '3.12', '3.13', '3.14', '3.15']
|
||||||
exclude:
|
|
||||||
- os: windows-11-arm
|
|
||||||
python-version: '3.10'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: Setup Python and check latest
|
- name: Setup Python and check latest
|
||||||
@@ -651,12 +588,13 @@ jobs:
|
|||||||
3.12
|
3.12
|
||||||
3.13
|
3.13
|
||||||
3.14
|
3.14
|
||||||
|
3.15
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- name: Validate version
|
- name: Validate version
|
||||||
run: |
|
run: |
|
||||||
$pythonVersion = (python --version)
|
$pythonVersion = (python --version)
|
||||||
if ("$pythonVersion" -NotMatch "3.14"){
|
if ("$pythonVersion" -NotMatch "3.15"){
|
||||||
Write-Host "The current version is $pythonVersion; expected version is 3.14"
|
Write-Host "The current version is $pythonVersion; expected version is 3.15"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
$pythonVersion
|
$pythonVersion
|
||||||
|
|||||||
Reference in new issue
Block a user