Skip to content

Commit 43dd41e

Browse files
authored
bump actions/checkout to v4
1 parent 1483b99 commit 43dd41e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/scripts/test-windows.ps1

+2-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ function Initialize-Python {
2222
}
2323
# Check Python version/arch
2424
exec { python -c "import platform; assert platform.python_version().startswith('$env:PYTHON_VERSION')" }
25-
exec { python -c "import struct; assert struct.calcsize('P') * 8 == $env:PYTHON_ARCH" }
2625
}
2726

2827
function Create-VEnv {
@@ -63,8 +62,8 @@ function Exit-VEnv {
6362
if (!$env:PYTHON_VERSION) {
6463
throw "PYTHON_VERSION env var missing, must be x.y"
6564
}
66-
if ($env:PYTHON_ARCH -ne '32' -and $env:PYTHON_ARCH -ne '64') {
67-
throw "PYTHON_ARCH env var must be 32 or 64"
65+
if ($env:PYTHON_ARCH -ne 'x86' -and $env:PYTHON_ARCH -ne 'x86_64') {
66+
throw "PYTHON_ARCH env var must be x86 or x86_64"
6867
}
6968

7069
$PYVER = ($env:PYTHON_VERSION).Replace('.', '')

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
# container: ${{ matrix.config.docker-image }}
137137

138138
steps:
139-
- uses: actions/checkout@v3
139+
- uses: actions/checkout@v4
140140
with:
141141
submodules: true
142142

@@ -295,7 +295,7 @@ jobs:
295295
needs: build
296296

297297
steps:
298-
- uses: actions/checkout@v3
298+
- uses: actions/checkout@v4
299299
with:
300300
submodules: true
301301

@@ -358,7 +358,7 @@ jobs:
358358
needs: build
359359

360360
steps:
361-
- uses: actions/checkout@v3
361+
- uses: actions/checkout@v4
362362

363363
- name: Setup Python
364364
uses: actions/setup-python@v4

0 commit comments

Comments
 (0)