Skip to content

Commit

Permalink
bump actions/checkout to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
letmaik authored Sep 7, 2024
1 parent 1483b99 commit 43dd41e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/scripts/test-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ function Initialize-Python {
}
# Check Python version/arch
exec { python -c "import platform; assert platform.python_version().startswith('$env:PYTHON_VERSION')" }
exec { python -c "import struct; assert struct.calcsize('P') * 8 == $env:PYTHON_ARCH" }
}

function Create-VEnv {
Expand Down Expand Up @@ -63,8 +62,8 @@ function Exit-VEnv {
if (!$env:PYTHON_VERSION) {
throw "PYTHON_VERSION env var missing, must be x.y"
}
if ($env:PYTHON_ARCH -ne '32' -and $env:PYTHON_ARCH -ne '64') {
throw "PYTHON_ARCH env var must be 32 or 64"
if ($env:PYTHON_ARCH -ne 'x86' -and $env:PYTHON_ARCH -ne 'x86_64') {
throw "PYTHON_ARCH env var must be x86 or x86_64"
}

$PYVER = ($env:PYTHON_VERSION).Replace('.', '')
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
# container: ${{ matrix.config.docker-image }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand Down Expand Up @@ -295,7 +295,7 @@ jobs:
needs: build

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand Down Expand Up @@ -358,7 +358,7 @@ jobs:
needs: build

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
Expand Down

0 comments on commit 43dd41e

Please sign in to comment.