4747 generic_cpp_stdlib_path : ${{ steps.set_env.outputs.generic_cpp_stdlib_path }}
4848
4949 steps :
50- - uses : actions/checkout@v4
50+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
5151
5252 - name : Add execute permissions for envsetup
5353 run : chmod +x build/envsetup.sh
7272
7373 steps :
7474 - name : Checkout repository
75- uses : actions/checkout@v4
75+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
7676
7777 - name : Set environment variables
7878 run : |
@@ -124,7 +124,7 @@ jobs:
124124
125125 - name : Cache vsomeip build
126126 id : cache-vsomeip
127- uses : actions/cache@v3
127+ uses : actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
128128 with :
129129 path : ${{ env.VSOMEIP_INSTALL_PATH }}
130130 key : ${{ runner.os }}-vsomeip-${{ hashFiles(env.VSOMEIP_SOURCE_PATH_WITH_WILDCARD) }}
@@ -144,7 +144,7 @@ jobs:
144144
145145 - name : Save vsomeip build to cache
146146 if : steps.cache-vsomeip.outputs.cache-hit != 'true'
147- uses : actions/cache@v3
147+ uses : actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
148148 with :
149149 path : ${{ env.VSOMEIP_INSTALL_PATH }}
150150 key : ${{ runner.os }}-vsomeip-${{ hashFiles(env.VSOMEIP_SOURCE_PATH_WITH_WILDCARD) }}
@@ -162,7 +162,7 @@ jobs:
162162 CACHE_KEY : ${{ needs.obtain_and_build_vsomeip.outputs.cache_key }}
163163
164164 steps :
165- - uses : actions/checkout@v4
165+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
166166
167167 - name : Set environment variables
168168 run : |
@@ -182,7 +182,7 @@ jobs:
182182 echo "cache_key: ${{ env.CACHE_KEY }}"
183183
184184 - name : Restore vsomeip build cache
185- uses : actions/cache@v3
185+ uses : actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
186186 with :
187187 path : ${{ env.VSOMEIP_INSTALL_PATH }}
188188 key : ${{ env.CACHE_KEY }}
@@ -217,8 +217,8 @@ jobs:
217217 GENERIC_CPP_STDLIB_PATH : ${{ needs.set-env.outputs.generic_cpp_stdlib_path }}
218218
219219 steps :
220- - uses : actions/checkout@v4
221- - uses : dtolnay/rust-toolchain@stable
220+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
221+ - uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
222222
223223 - name : Install C++ dependencies
224224 if : steps.cache-vsomeip.outputs.cache-hit != 'true'
@@ -244,7 +244,7 @@ jobs:
244244 echo "cache_key: ${{ env.CACHE_KEY }}"
245245
246246 - name : Restore vsomeip build cache
247- uses : actions/cache@v3
247+ uses : actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
248248 with :
249249 path : ${{ env.VSOMEIP_INSTALL_PATH }}
250250 key : ${{ env.CACHE_KEY }}
@@ -267,25 +267,25 @@ jobs:
267267 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${VSOMEIP_INSTALL_PATH}/lib cargo test -- --test-threads 1
268268
269269 - name : Upload coverage report (xml)
270- uses : actions/upload-artifact@v4
270+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
271271 with :
272272 name : Test Coverage Results (xml)
273273 path : cobertura.xml
274274
275275 - name : Upload coverage report (lcov)
276- uses : actions/upload-artifact@v4
276+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
277277 with :
278278 name : Test Coverage Results (lcov)
279279 path : lcov.info
280280
281281 - name : Upload coverage report (html)
282- uses : actions/upload-artifact@v4
282+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
283283 with :
284284 name : Test Coverage Results (html)
285285 path : tarpaulin-report.html
286286
287287 # - name: Upload coverage report
288- # uses: actions/upload-artifact@v4
288+ # uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
289289 # with:
290290 # name: Code coverage report
291291 # path: cobertura.xml
@@ -302,7 +302,7 @@ jobs:
302302 GENERIC_CPP_STDLIB_PATH : ${{ needs.set-env.outputs.generic_cpp_stdlib_path }}
303303
304304 steps :
305- - uses : actions/checkout@v4
305+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
306306
307307 - name : Set environment variables
308308 run : |
@@ -322,7 +322,7 @@ jobs:
322322 echo "cache_key: ${{ env.CACHE_KEY }}"
323323
324324 - name : Restore vsomeip build cache
325- uses : actions/cache@v3
325+ uses : actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
326326 with :
327327 path : ${{ env.VSOMEIP_INSTALL_PATH }}
328328 key : ${{ env.CACHE_KEY }}
0 commit comments