Skip to content

Commit e684c34

Browse files
committed
zizmor ignore
1 parent 1b84d5d commit e684c34

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86,25 +86,25 @@ jobs:
8686
with:
8787
persist-credentials: false
8888
- name: Install dependencies
89-
shell: cmd
89+
shell: pwsh
9090
run: |
9191
vcpkg install zlib:x64-windows nlohmann-json:x64-windows nanoarrow:x64-windows roaring:x64-windows cpr:x64-windows
9292
- name: Setup sccache
93-
uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
93+
uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9 # zizmor: ignore[cache-poisoning]
9494
- name: Build Iceberg
95-
shell: cmd
95+
shell: pwsh
9696
env:
9797
SCCACHE_GHA_ENABLED: "true"
9898
run: |
99-
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
100-
bash -c "ci/scripts/build_iceberg.sh $(pwd) OFF ON"
101-
if %errorlevel% neq 0 exit /b %errorlevel%
99+
$ErrorActionPreference = "Stop"
100+
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\""
101+
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
102102
sccache --show-stats
103103
- name: Build Example
104-
shell: cmd
104+
shell: pwsh
105105
run: |
106-
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
107-
bash -c "ci/scripts/build_example.sh $(pwd)/example"
106+
$ErrorActionPreference = "Stop"
107+
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\""
108108
meson:
109109
name: Meson - ${{ matrix.title }}
110110
runs-on: ${{ matrix.runs-on }}

0 commit comments

Comments
 (0)