2626 config : Release
2727 runs-on : ${{ matrix.toolchain.image }}
2828 steps :
29- - uses : actions/checkout@v7
29+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3030
3131 - name : Download nuget
3232 run : |
7171 cmd /c "$env:VSDevCmd" "&" msbuild /m /clp:ForceConsoleColor "$env:msbuild_config_props" cppwinrt.sln /t:cppwinrt
7272
7373 - name : Upload built executables
74- uses : actions/upload-artifact@v7
74+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
7575 with :
7676 name : msvc-build-${{ matrix.compiler}}-${{ matrix.arch }}-${{ matrix.config }}-${{ matrix.toolchain.platform_toolset }}-bin
7777 path : |
@@ -113,18 +113,18 @@ jobs:
113113 test_exe : test_cpp20_module
114114 runs-on : ${{ matrix.toolchain.image }}
115115 steps :
116- - uses : actions/checkout@v7
116+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
117117
118118 - name : Fetch cppwinrt executables
119119 if : matrix.arch != 'arm64'
120- uses : actions/download-artifact@v8
120+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
121121 with :
122122 name : msvc-build-${{ matrix.compiler}}-${{ matrix.arch }}-${{ matrix.config }}-${{ matrix.toolchain.platform_toolset }}-bin
123123 path : _build/${{ matrix.arch }}/${{ matrix.config }}/
124124
125125 - name : Fetch x86 cppwinrt executables (arm64 only)
126126 if : matrix.arch == 'arm64'
127- uses : actions/download-artifact@v8
127+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
128128 with :
129129 name : msvc-build-${{ matrix.compiler}}-x86-Release-${{ matrix.toolchain.platform_toolset }}-bin
130130 path : _build/x86/Release/
@@ -243,7 +243,7 @@ jobs:
243243
244244 - name : Upload arm64 test executables
245245 if : matrix.arch == 'arm64'
246- uses : actions/upload-artifact@v7
246+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
247247 with :
248248 name : msvc-tests-${{ matrix.test_exe }}-${{ matrix.compiler }}-${{ matrix.arch }}-${{ matrix.config }}-${{ matrix.toolchain.platform_toolset }}-bin
249249 path : |
@@ -263,7 +263,7 @@ jobs:
263263 CMAKE_COLOR_DIAGNOSTICS : 1
264264 CLICOLOR_FORCE : 1
265265 steps :
266- - uses : actions/checkout@v7
266+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
267267
268268 - name : Install cross compiler
269269 run : |
@@ -282,7 +282,7 @@ jobs:
282282 cmake --build build/cross_x64/ --target install -j2
283283
284284 - name : Upload cppwinrt.exe
285- uses : actions/upload-artifact@v7
285+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
286286 with :
287287 name : cross-build-${{ matrix.arch }}-bin
288288 path : install/bin/cppwinrt.exe
@@ -296,7 +296,7 @@ jobs:
296296 Deployment : [Component, Standalone]
297297 runs-on : windows-2025-vs2026
298298 steps :
299- - uses : actions/checkout@v7
299+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
300300
301301 - name : Download nuget
302302 run : |
@@ -339,10 +339,10 @@ jobs:
339339 platform_toolset : v145
340340 runs-on : ${{ matrix.toolchain.image }}
341341 steps :
342- - uses : actions/checkout@v7
342+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
343343
344344 - name : Fetch cppwinrt executables
345- uses : actions/download-artifact@v8
345+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
346346 with :
347347 name : msvc-build-${{ matrix.compiler}}-${{ matrix.arch }}-${{ matrix.config }}-${{ matrix.toolchain.platform_toolset }}-bin
348348 path : _build/${{ matrix.arch }}/${{ matrix.config }}/
@@ -384,7 +384,7 @@ jobs:
384384 name : Build nuget package with MSVC
385385 runs-on : windows-2025-vs2026
386386 steps :
387- - uses : actions/checkout@v7
387+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
388388
389389 - name : Package
390390 run : |
@@ -399,7 +399,7 @@ jobs:
399399 }
400400
401401 - name : Upload nuget package artifact
402- uses : actions/upload-artifact@v7
402+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
403403 with :
404404 name : package
405405 path : " *.nupkg"
0 commit comments