5252 cache-key : ${{ steps.cache-key.outputs.key }}
5353 steps :
5454 - name : Checkout code
55- uses : actions/checkout@v4
55+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
5656 - name : Setup Node.js
57- uses : actions/setup-node@v4
57+ uses : actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
5858 with :
5959 node-version : ${{ env.NODE_VERSION }}
6060 cache : npm
6767 echo "key=node-modules-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}" >> "$GITHUB_OUTPUT"
6868 shell : bash
6969 - name : Cache dependencies
70- uses : actions/cache@v4
70+ uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
7171 with :
7272 path : ~/.npm
7373 key : ${{ steps.cache-key.outputs.key }}
@@ -114,9 +114,9 @@ jobs:
114114 - 22
115115 steps :
116116 - name : Checkout code
117- uses : actions/checkout@v4
117+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
118118 - name : Setup Node.js ${{ matrix.node-version }}
119- uses : actions/setup-node@v4
119+ uses : actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
120120 with :
121121 node-version : ${{ matrix.node-version }}
122122 cache : npm
@@ -133,15 +133,15 @@ jobs:
133133 npm run test:unit:coverage
134134 shell : bash
135135 - name : Upload coverage reports
136- uses : codecov/codecov-action@v4
136+ uses : codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
137137 if : matrix.node-version == 20
138138 with :
139139 file : ./coverage/lcov.info
140140 flags : unit-tests
141141 name : unit-tests-coverage
142142 - name : Upload failure logs
143143 if : failure()
144- uses : actions/upload-artifact@v4
144+ uses : actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
145145 with :
146146 name : unit-test-failure-logs-${{ matrix.node-version }}-${{ github.run_number }}
147147 path : |
@@ -173,9 +173,9 @@ jobs:
173173 - " 6379:6379"
174174 steps :
175175 - name : Checkout code
176- uses : actions/checkout@v4
176+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
177177 - name : Setup Node.js
178- uses : actions/setup-node@v4
178+ uses : actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
179179 with :
180180 node-version : ${{ env.NODE_VERSION }}
181181 cache : npm
@@ -201,7 +201,7 @@ jobs:
201201 npm run test:integration:coverage
202202 shell : bash
203203 - name : Upload integration test results
204- uses : actions/upload-artifact@v4
204+ uses : actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
205205 if : always()
206206 with :
207207 name : integration-test-results
@@ -221,9 +221,9 @@ jobs:
221221 contents : read
222222 steps :
223223 - name : Checkout code
224- uses : actions/checkout@v4
224+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
225225 - name : Setup Node.js
226- uses : actions/setup-node@v4
226+ uses : actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
227227 with :
228228 node-version : ${{ env.NODE_VERSION }}
229229 cache : npm
@@ -240,7 +240,7 @@ jobs:
240240 npm run benchmark:cpu
241241 shell : bash
242242 - name : Upload performance results
243- uses : actions/upload-artifact@v4
243+ uses : actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
244244 if : always()
245245 with :
246246 name : performance-results
@@ -255,9 +255,9 @@ jobs:
255255 if : contains(fromJson(needs.setup.outputs.test-matrix), 'security')
256256 steps :
257257 - name : Checkout code
258- uses : actions/checkout@v4
258+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
259259 - name : Setup Node.js
260- uses : actions/setup-node@v4
260+ uses : actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
261261 with :
262262 node-version : ${{ env.NODE_VERSION }}
263263 cache : npm
@@ -281,7 +281,7 @@ jobs:
281281 npm audit --audit-level=moderate --json > audit-results.json || true
282282 shell : bash
283283 - name : Upload security results
284- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
284+ uses : actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
285285 if : always()
286286 with :
287287 name : security-test-results
@@ -297,9 +297,9 @@ jobs:
297297 if : contains(fromJson(needs.setup.outputs.test-matrix), 'property-based')
298298 steps :
299299 - name : Checkout code
300- uses : actions/checkout@v4
300+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
301301 - name : Setup Node.js
302- uses : actions/setup-node@v4
302+ uses : actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
303303 with :
304304 node-version : ${{ env.NODE_VERSION }}
305305 cache : npm
@@ -317,7 +317,7 @@ jobs:
317317 PROPERTY_TESTING : true
318318 shell : bash
319319 - name : Upload property test results
320- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
320+ uses : actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
321321 if : always()
322322 with :
323323 name : property-test-results
@@ -341,9 +341,9 @@ jobs:
341341 - 22
342342 steps :
343343 - name : Checkout code
344- uses : actions/checkout@v4
344+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
345345 - name : Setup Node.js ${{ matrix.node-version }}
346- uses : actions/setup-node@v4
346+ uses : actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
347347 with :
348348 node-version : ${{ matrix.node-version }}
349349 cache : npm
@@ -360,7 +360,7 @@ jobs:
360360 NODE_ENV : test
361361 shell : bash
362362 - name : Upload compatibility results
363- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
363+ uses : actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
364364 if : always()
365365 with :
366366 name : compatibility-test-results-${{ matrix.os }}-${{ matrix.node-version }}
@@ -381,9 +381,9 @@ jobs:
381381 if : always() && (github.event.inputs.generate_reports == 'true' || github.event.inputs.generate_reports == '')
382382 steps :
383383 - name : Checkout code
384- uses : actions/checkout@v4
384+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
385385 - name : Setup Node.js
386- uses : actions/setup-node@v4
386+ uses : actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
387387 with :
388388 node-version : ${{ env.NODE_VERSION }}
389389 cache : npm
@@ -392,7 +392,7 @@ jobs:
392392 run : npm ci
393393 shell : bash
394394 - name : Download all test artifacts
395- uses : actions/download-artifact@v4
395+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
396396 with :
397397 path : test-artifacts
398398 - name : Generate comprehensive test report
@@ -408,7 +408,7 @@ jobs:
408408 GITHUB_REF : " \" ${{ github.ref }}\" "
409409 shell : bash
410410 - name : Upload HTML reports
411- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
411+ uses : actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
412412 with :
413413 name : test-reports-html
414414 path : test-reports/
@@ -491,7 +491,7 @@ jobs:
491491 });
492492 - name : Slack notification
493493 if : failure() && github.ref == 'refs/heads/main'
494- uses : 8398a7/action-slack@28ba43ae48961b90ced0e7aac97fc847a4ab1666
494+ uses : 8398a7/action-slack@v3
495495 with :
496496 status : failure
497497 channel : " #dev-alerts"
0 commit comments