@@ -57,13 +57,13 @@ jobs:
5757
5858 steps :
5959 - name : Checkout repository
60- uses : actions/checkout@v4
60+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
6161
6262 - name : Install Rust toolchain
63- uses : dtolnay/rust-toolchain@stable
63+ uses : dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
6464
6565 - name : Setup Rust cache
66- uses : Swatinem/rust-cache@v2
66+ uses : Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
6767 with :
6868 cache-on-failure : true
6969 prefix-key : " v2-gate1"
9393 fi
9494
9595 - name : Upload binary artifact
96- uses : actions/upload-artifact@v4
96+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
9797 with :
9898 name : rk-core-binary
9999 path : target/release/rk-core
@@ -110,15 +110,15 @@ jobs:
110110
111111 steps :
112112 - name : Checkout repository
113- uses : actions/checkout@v4
113+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
114114
115115 - name : Install Rust toolchain
116- uses : dtolnay/rust-toolchain@stable
116+ uses : dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
117117 with :
118118 components : clippy
119119
120120 - name : Setup Rust cache
121- uses : Swatinem/rust-cache@v2
121+ uses : Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
122122 with :
123123 cache-on-failure : true
124124 prefix-key : " v2-gate2"
@@ -152,10 +152,10 @@ jobs:
152152
153153 steps :
154154 - name : Checkout repository
155- uses : actions/checkout@v4
155+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
156156
157157 - name : Install Rust toolchain
158- uses : dtolnay/rust-toolchain@stable
158+ uses : dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
159159 with :
160160 components : rustfmt
161161
@@ -183,13 +183,13 @@ jobs:
183183
184184 steps :
185185 - name : Checkout repository
186- uses : actions/checkout@v4
186+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
187187
188188 - name : Install Rust toolchain
189- uses : dtolnay/rust-toolchain@stable
189+ uses : dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
190190
191191 - name : Setup Rust cache
192- uses : Swatinem/rust-cache@v2
192+ uses : Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
193193 with :
194194 cache-on-failure : true
195195 prefix-key : " v2-gate4"
@@ -237,21 +237,21 @@ jobs:
237237
238238 steps :
239239 - name : Checkout repository
240- uses : actions/checkout@v4
240+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
241241 with :
242242 fetch-depth : 0
243243
244244 - name : Install Rust toolchain
245- uses : dtolnay/rust-toolchain@stable
245+ uses : dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
246246
247247 - name : Setup Rust cache
248- uses : Swatinem/rust-cache@v2
248+ uses : Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
249249 with :
250250 cache-on-failure : true
251251 prefix-key : " v2-gate5"
252252
253253 - name : Restore benchmark baseline
254- uses : actions/cache@v4
254+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
255255 with :
256256 path : target/criterion
257257 key : benchmark-baseline-${{ github.base_ref || 'main' }}
@@ -283,7 +283,7 @@ jobs:
283283
284284 - name : Save benchmark baseline (main only)
285285 if : github.ref == 'refs/heads/main'
286- uses : actions/cache/save@v4
286+ uses : actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
287287 with :
288288 path : target/criterion
289289 key : benchmark-baseline-main-${{ github.sha }}
@@ -309,7 +309,7 @@ jobs:
309309
310310 - name : Upload benchmark reports
311311 if : always()
312- uses : actions/upload-artifact@v4
312+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
313313 with :
314314 name : benchmark-reports
315315 path : target/criterion
@@ -324,13 +324,13 @@ jobs:
324324
325325 steps :
326326 - name : Checkout repository
327- uses : actions/checkout@v4
327+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
328328
329329 - name : Install Rust toolchain
330- uses : dtolnay/rust-toolchain@stable
330+ uses : dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
331331
332332 - name : Setup Rust cache
333- uses : Swatinem/rust-cache@v2
333+ uses : Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
334334 with :
335335 prefix-key : " v2-docs"
336336 cache-on-failure : true
@@ -341,7 +341,7 @@ jobs:
341341 RUSTDOCFLAGS : " -D warnings --cfg docsrs"
342342
343343 - name : Upload documentation
344- uses : actions/upload-artifact@v4
344+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
345345 with :
346346 name : documentation
347347 path : target/doc
@@ -356,10 +356,10 @@ jobs:
356356
357357 steps :
358358 - name : Checkout repository
359- uses : actions/checkout@v4
359+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
360360
361361 - name : Install Rust toolchain
362- uses : dtolnay/rust-toolchain@stable
362+ uses : dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
363363
364364 - name : Install cargo-audit
365365 run : cargo install cargo-audit --locked
@@ -376,14 +376,14 @@ jobs:
376376 continue-on-error : ${{ github.event.inputs.strict_security != 'true' }}
377377
378378 - name : Run cargo-deny (advisories)
379- uses : EmbarkStudios/cargo-deny-action@v1
379+ uses : EmbarkStudios/cargo-deny-action@ef301417264190a1eb9f26fcf171642070085c5b # v1
380380 with :
381381 log-level : warn
382382 command : check advisories
383383 continue-on-error : ${{ github.event.inputs.strict_security != 'true' }}
384384
385385 - name : Run cargo-deny (licenses)
386- uses : EmbarkStudios/cargo-deny-action@v1
386+ uses : EmbarkStudios/cargo-deny-action@ef301417264190a1eb9f26fcf171642070085c5b # v1
387387 with :
388388 log-level : warn
389389 command : check licenses
@@ -414,10 +414,10 @@ jobs:
414414
415415 steps :
416416 - name : Checkout repository
417- uses : actions/checkout@v4
417+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
418418
419419 - name : Install Rust toolchain
420- uses : dtolnay/rust-toolchain@stable
420+ uses : dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
421421
422422 - name : Install tools
423423 run : sudo apt-get update && sudo apt-get install -y jq
0 commit comments