8787 arch : " arm64"
8888
8989 steps :
90- - uses : actions/checkout@v5
90+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
9191 with :
9292 sparse-checkout : |
9393 clang-format
@@ -113,7 +113,7 @@ jobs:
113113
114114 - name : Set up msvc on Windows
115115 if : runner.os == 'Windows'
116- uses : ilammy/msvc-dev-cmd@v1
116+ uses : ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
117117 with :
118118 arch : ${{ matrix.arch }}
119119
@@ -130,19 +130,19 @@ jobs:
130130 cat clang-format_version.txt
131131
132132 - name : Set up QEMU
133- uses : docker/setup-qemu-action@v3.6 .0
133+ uses : docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7 .0
134134 with :
135135 image : tonistiigi/binfmt:qemu-v8.1.5
136136 if : runner.os == 'Linux' && matrix.emulation == 'qemu'
137137
138138 - name : Build wheels
139- uses : pypa/cibuildwheel@v3.1
139+ uses : pypa/cibuildwheel@63fd63b352a9a8bdcc24791c9dbee952ee9a8abc # v3.3.0
140140 env :
141141 CIBW_ARCHS : " ${{ matrix.arch }}"
142142 # restrict to a single Python version as wheel does not depend on Python:
143143 CIBW_BUILD : " cp311-${{ matrix.platform }}*"
144144
145- - uses : actions/upload-artifact@v4
145+ - uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
146146 with :
147147 name : clang-format-wheels-${{ matrix.platform }}-${{ matrix.arch }}
148148 path : ./wheelhouse/*.whl
@@ -186,7 +186,7 @@ jobs:
186186 arch : " arm64"
187187
188188 steps :
189- - uses : actions/checkout@v5
189+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
190190 with :
191191 sparse-checkout : |
192192 clang-tidy
@@ -212,7 +212,7 @@ jobs:
212212
213213 - name : Set up msvc on Windows
214214 if : runner.os == 'Windows'
215- uses : ilammy/msvc-dev-cmd@v1
215+ uses : ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
216216 with :
217217 arch : ${{ matrix.arch }}
218218
@@ -227,7 +227,7 @@ jobs:
227227 cat clang-tidy_version.txt
228228
229229 - name : Build wheels
230- uses : pypa/cibuildwheel@v2.23.2
230+ uses : pypa/cibuildwheel@63fd63b352a9a8bdcc24791c9dbee952ee9a8abc # v3.3.0
231231 env :
232232 CIBW_ARCHS : " ${{ matrix.arch }}"
233233 CIBW_BEFORE_TEST : rm -rf {package}/clang_tidy
@@ -237,7 +237,7 @@ jobs:
237237 # restrict to a single Python version as wheel does not depend on Python:
238238 CIBW_BUILD : " cp311-${{ matrix.platform }}*"
239239
240- - uses : actions/upload-artifact@v4
240+ - uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
241241 with :
242242 name : clang-tidy-wheels-${{ matrix.platform }}-${{ matrix.arch }}
243243 path : ./wheelhouse/*.whl
@@ -247,7 +247,7 @@ jobs:
247247 runs-on : ubuntu-latest
248248
249249 steps :
250- - uses : actions/checkout@v5
250+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
251251 with :
252252 sparse-checkout : |
253253 clang-format
@@ -276,7 +276,7 @@ jobs:
276276 - name : Build SDist
277277 run : pipx run build --sdist
278278
279- - uses : actions/upload-artifact@v4
279+ - uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
280280 with :
281281 name : clang-format-sdist
282282 path : dist/*.tar.gz
@@ -286,7 +286,7 @@ jobs:
286286 runs-on : ubuntu-latest
287287
288288 steps :
289- - uses : actions/checkout@v5
289+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
290290 with :
291291 sparse-checkout : |
292292 clang-tidy
@@ -315,7 +315,7 @@ jobs:
315315 - name : Build SDist
316316 run : pipx run build --sdist
317317
318- - uses : actions/upload-artifact@v4
318+ - uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
319319 with :
320320 path : dist/*.tar.gz
321321 name : clang-tidy-sdist
@@ -326,7 +326,7 @@ jobs:
326326 runs-on : ubuntu-latest
327327
328328 steps :
329- - uses : actions/checkout@v5
329+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
330330 with :
331331 sparse-checkout : |
332332 clang-format
@@ -346,12 +346,12 @@ jobs:
346346 rm -rf clang-format
347347 fi
348348
349- - uses : actions/setup-python@v5
349+ - uses : actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
350350 name : Install Python
351351 with :
352352 python-version : ' 3.13'
353353
354- - uses : actions/download-artifact@v5
354+ - uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
355355 with :
356356 name : clang-format-sdist
357357 path : sdist
@@ -380,7 +380,7 @@ jobs:
380380 runs-on : ubuntu-latest
381381
382382 steps :
383- - uses : actions/checkout@v5
383+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
384384 with :
385385 sparse-checkout : |
386386 clang-tidy
@@ -400,12 +400,12 @@ jobs:
400400 rm -rf clang-tidy
401401 fi
402402
403- - uses : actions/setup-python@v5
403+ - uses : actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
404404 name : Install Python
405405 with :
406406 python-version : ' 3.13'
407407
408- - uses : actions/download-artifact@v5
408+ - uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
409409 with :
410410 name : clang-tidy-sdist
411411 path : sdist
@@ -439,13 +439,13 @@ jobs:
439439 contents : write
440440
441441 steps :
442- - uses : actions/download-artifact@v5
442+ - uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
443443 with :
444444 pattern : clang-format-*
445445 merge-multiple : true
446446 path : clang-format-dist
447447
448- - uses : actions/download-artifact@v5
448+ - uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
449449 with :
450450 pattern : clang-tidy-*
451451 merge-multiple : true
@@ -465,7 +465,7 @@ jobs:
465465 ls -la release-assets/
466466
467467 - name : Create draft release
468- uses : softprops/action-gh-release@v2
468+ uses : softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2
469469 if : github.event_name == 'workflow_dispatch' # only create release on manual trigger
470470 with :
471471 draft : true
0 commit comments