5252 AWS_EC2_METADATA_DISABLED : " TRUE"
5353 steps :
5454 - name : Checkout iceberg-cpp
55- uses : actions/checkout@v6
55+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
56+ with :
57+ persist-credentials : false
5658 - name : Install dependencies
5759 shell : bash
5860 run : sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
8688 AWS_EC2_METADATA_DISABLED : " TRUE"
8789 steps :
8890 - name : Checkout iceberg-cpp
89- uses : actions/checkout@v6
91+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
92+ with :
93+ persist-credentials : false
9094 - name : Start MinIO
9195 shell : bash
9296 run : bash ci/scripts/start_minio.sh
@@ -111,30 +115,32 @@ jobs:
111115 AWS_EC2_METADATA_DISABLED : " TRUE"
112116 steps :
113117 - name : Checkout iceberg-cpp
114- uses : actions/checkout@v6
118+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
119+ with :
120+ persist-credentials : false
115121 - name : Install dependencies
116- shell : cmd
122+ shell : pwsh
117123 run : |
118124 vcpkg install zlib:x64-windows nlohmann-json:x64-windows nanoarrow:x64-windows roaring:x64-windows cpr:x64-windows
119125 - name : Setup sccache
120- uses : mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
126+ uses : mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9 # zizmor: ignore[cache-poisoning] -- only used for build caching, no artifacts published
121127 - name : Start MinIO
122128 shell : bash
123129 run : bash ci/scripts/start_minio.sh
124130 - name : Build Iceberg
125- shell : cmd
131+ shell : pwsh
126132 env :
127133 SCCACHE_GHA_ENABLED : " true"
128134 run : |
129- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
130- bash -c "ci/scripts/build_iceberg.sh $(pwd) OFF ON"
131- 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 }
132138 sccache --show-stats
133139 - name : Build Example
134- shell : cmd
140+ shell : pwsh
135141 run : |
136- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
137- 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`" "
138144 meson :
139145 name : Meson - ${{ matrix.title }}
140146 runs-on : ${{ matrix.runs-on }}
@@ -155,11 +161,13 @@ jobs:
155161 - title : AArch64 macOS 26
156162 runs-on : macos-26
157163 steps :
158- - uses : actions/setup-python@v6
164+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
159165 with :
160166 python-version : ' 3.x'
161167 - name : Checkout iceberg-cpp
162- uses : actions/checkout@v6
168+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
169+ with :
170+ persist-credentials : false
163171 - name : Install build dependencies
164172 run : |
165173 python3 -m pip install --upgrade pip
0 commit comments