1
0
mirror of https://github.com/actions/setup-python synced 2024-11-30 21:22:28 +08:00

Modified workflows to enhance the testing in accordance with latest changes

This commit is contained in:
priya-kinthali 2024-10-14 18:28:08 +05:30
parent 7234b81688
commit fa256f775a

View File

@ -474,15 +474,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os:
[
ubuntu-20.04,
ubuntu-22.04,
ubuntu-latest,
windows-latest,
macos-latest,
macos-13
]
os: [ubuntu-latest, windows-latest, macos-latest, macos-13, ubuntu-20.04, ubuntu-22.04]
steps:
- uses: actions/checkout@v4
- name: Setup Python and check latest
@ -495,7 +487,7 @@ jobs:
- name: Validate version
run: |
$pythonVersion = (python --version)
if ("$pythonVersion" -NotMatch "3.12"){
if ("$pythonVersion" -NotMatch "3.13"){
Write-Host "The current version is $pythonVersion; expected version is 3.12"
exit 1
}