Skip to content

Commit ee7396d

Browse files
committed
zizmor ignore
1 parent 538f7da commit ee7396d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
with:
120120
persist-credentials: false
121121
- name: Install dependencies
122-
shell: cmd
122+
shell: pwsh
123123
run: |
124124
vcpkg install zlib:x64-windows nlohmann-json:x64-windows nanoarrow:x64-windows roaring:x64-windows cpr:x64-windows
125125
- name: Setup sccache
@@ -128,19 +128,19 @@ jobs:
128128
shell: bash
129129
run: bash ci/scripts/start_minio.sh
130130
- name: Build Iceberg
131-
shell: cmd
131+
shell: pwsh
132132
env:
133133
SCCACHE_GHA_ENABLED: "true"
134134
run: |
135-
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
136-
bash -c "ci/scripts/build_iceberg.sh $(pwd) OFF ON"
137-
if %errorlevel% neq 0 exit /b %errorlevel%
135+
$ErrorActionPreference = "Stop"
136+
cmd /c "call \"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat\" x64 && bash -lc \"ci/scripts/build_iceberg.sh `$(pwd) OFF ON\""
137+
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
138138
sccache --show-stats
139139
- name: Build Example
140-
shell: cmd
140+
shell: pwsh
141141
run: |
142-
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
143-
bash -c "ci/scripts/build_example.sh $(pwd)/example"
142+
$ErrorActionPreference = "Stop"
143+
cmd /c "call \"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat\" x64 && bash -lc \"ci/scripts/build_example.sh `$(pwd)/example\""
144144
meson:
145145
name: Meson - ${{ matrix.title }}
146146
runs-on: ${{ matrix.runs-on }}

0 commit comments

Comments
 (0)