@@ -106,11 +106,11 @@ jobs:
106106 name : Build - ${{ matrix.settings.target }}
107107 runs-on : ${{ matrix.settings.host }}
108108 steps :
109- - uses : actions/checkout@v4
109+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
110110 with :
111111 submodules : recursive
112112 - name : Setup node
113- uses : actions/setup-node@v4
113+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
114114 if : ${{ !matrix.settings.docker }}
115115 with :
116116 node-version : 20
@@ -122,7 +122,7 @@ jobs:
122122 rustup show
123123 rustup target add ${{ matrix.settings.target }}
124124 - name : Cache cargo
125- uses : actions/cache@v4
125+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
126126 with :
127127 path : |
128128 ~/.cargo/registry/index/
@@ -139,7 +139,7 @@ jobs:
139139 run : npm install --ignore-scripts
140140 working-directory : ${{ env.WORKING_DIR }}
141141 - name : Build in docker
142- uses : addnab/docker-run-action@v3
142+ uses : addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185 # v3
143143 if : ${{ matrix.settings.docker }}
144144 with :
145145 image : ${{ matrix.settings.docker }}
@@ -153,7 +153,7 @@ jobs:
153153 if : ${{ !matrix.settings.docker }}
154154 shell : bash
155155 - name : Upload artifact
156- uses : actions/upload-artifact@v4
156+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
157157 with :
158158 name : bindings-${{ matrix.settings.target }}
159159 path : js/gritql/${{ env.APP_NAME }}.*.node
@@ -163,12 +163,12 @@ jobs:
163163 runs-on : depot-ubuntu-24.04-16
164164 name : Build - FreeBSD x64
165165 steps :
166- - uses : actions/checkout@v4
166+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
167167 with :
168168 submodules : recursive
169169 - name : Build
170170 id : build
171- uses : cross-platform-actions/action@v0.25 .0
171+ uses : cross-platform-actions/action@492b0c80085400348c599edace11141a4ee73524 # v0.32 .0
172172 env :
173173 DEBUG : napi:*
174174 RUSTUP_IO_THREADS : 1
@@ -195,7 +195,7 @@ jobs:
195195 cd ../..
196196 rm -rf target
197197 - name : Upload artifact
198- uses : actions/upload-artifact@v4
198+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
199199 with :
200200 name : bindings-freebsd
201201 path : js/gritql/${{ env.APP_NAME }}.*.node
@@ -221,20 +221,20 @@ jobs:
221221 - " 20"
222222 runs-on : ${{ matrix.settings.host }}
223223 steps :
224- - uses : actions/checkout@v4
224+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
225225 with :
226226 submodules : recursive
227227 - name : Setup node
228- uses : actions/setup-node@v4
228+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
229229 with :
230230 node-version : ${{ matrix.node }}
231231 - name : Setup bun
232- uses : oven-sh/setup-bun@v2
232+ uses : oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
233233 - name : Install dependencies
234234 run : npm install --ignore-scripts
235235 working-directory : ${{ env.WORKING_DIR }}
236236 - name : Download artifacts
237- uses : actions/download-artifact@v4
237+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
238238 with :
239239 name : ${{ matrix.settings.artifact }}
240240 path : ${{ env.WORKING_DIR }}/__generated__
@@ -258,20 +258,20 @@ jobs:
258258 - " 20"
259259 runs-on : depot-ubuntu-24.04
260260 steps :
261- - uses : actions/checkout@v4
261+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
262262 with :
263263 submodules : recursive
264264 - name : Setup node
265- uses : actions/setup-node@v4
265+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
266266 with :
267267 node-version : ${{ matrix.node }}
268268 - name : Setup bun
269- uses : oven-sh/setup-bun@v2
269+ uses : oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
270270 - name : Install dependencies
271271 run : npm install --ignore-scripts
272272 working-directory : ${{ env.WORKING_DIR }}
273273 - name : Download artifacts
274- uses : actions/download-artifact@v4
274+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
275275 with :
276276 name : bindings-x86_64-unknown-linux-gnu
277277 path : ${{ env.WORKING_DIR }}/__generated__
@@ -295,14 +295,14 @@ jobs:
295295 - " 20"
296296 runs-on : depot-ubuntu-24.04
297297 steps :
298- - uses : actions/checkout@v4
298+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
299299 with :
300300 submodules : recursive
301301 - name : Install dependencies
302302 run : npm install --ignore-scripts
303303 working-directory : ${{ env.WORKING_DIR }}
304304 - name : Download artifacts
305- uses : actions/download-artifact@v4
305+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
306306 with :
307307 name : bindings-x86_64-unknown-linux-musl
308308 path : ${{ env.WORKING_DIR }}/__generated__
@@ -311,7 +311,7 @@ jobs:
311311 shell : bash
312312 working-directory : ${{ env.WORKING_DIR }}
313313 - name : Test bindings
314- uses : addnab/docker-run-action@v3
314+ uses : addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185 # v3
315315 with :
316316 image : oven/bun:alpine
317317 options : " -v ${{ github.workspace }}:/build -w /build/js/gritql"
@@ -331,11 +331,11 @@ jobs:
331331 - " 20"
332332 runs-on : depot-ubuntu-24.04-arm
333333 steps :
334- - uses : actions/checkout@v4
334+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
335335 with :
336336 submodules : recursive
337337 - name : Download artifacts
338- uses : actions/download-artifact@v4
338+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
339339 with :
340340 name : bindings-aarch64-unknown-linux-gnu
341341 path : ${{ env.WORKING_DIR }}/__generated__
@@ -347,7 +347,7 @@ jobs:
347347 run : npm install --ignore-scripts
348348 working-directory : ${{ env.WORKING_DIR }}
349349 - name : Setup and run tests
350- uses : addnab/docker-run-action@v3
350+ uses : addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185 # v3
351351 with :
352352 image : node:${{ matrix.node }}-bookworm
353353 options : " -v ${{ github.workspace }}:/build -w /build/js/gritql"
@@ -363,11 +363,11 @@ jobs:
363363 - build
364364 runs-on : depot-ubuntu-24.04-arm
365365 steps :
366- - uses : actions/checkout@v4
366+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
367367 with :
368368 submodules : recursive
369369 - name : Download artifacts
370- uses : actions/download-artifact@v4
370+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
371371 with :
372372 name : bindings-aarch64-unknown-linux-musl
373373 path : ${{ env.WORKING_DIR }}/__generated__
@@ -379,7 +379,7 @@ jobs:
379379 run : npm install --ignore-scripts
380380 working-directory : ${{ env.WORKING_DIR }}
381381 - name : Setup and run tests
382- uses : addnab/docker-run-action@v3
382+ uses : addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185 # v3
383383 with :
384384 image : oven/bun:alpine
385385 options : " -v ${{ github.workspace }}:/build -w /build/js/gritql"
@@ -393,31 +393,31 @@ jobs:
393393 - build
394394 runs-on : depot-macos-14
395395 steps :
396- - uses : actions/checkout@v4
396+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
397397 with :
398398 submodules : recursive
399399 - name : Setup node
400- uses : actions/setup-node@v4
400+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
401401 with :
402402 node-version : 20
403403 - name : Install dependencies
404404 run : npm install --ignore-scripts
405405 working-directory : ${{ env.WORKING_DIR }}
406406 - name : Download macOS x64 artifact
407- uses : actions/download-artifact@v4
407+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
408408 with :
409409 name : bindings-x86_64-apple-darwin
410410 path : ${{ env.WORKING_DIR }}/artifacts
411411 - name : Download macOS arm64 artifact
412- uses : actions/download-artifact@v4
412+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
413413 with :
414414 name : bindings-aarch64-apple-darwin
415415 path : ${{ env.WORKING_DIR }}/artifacts
416416 - name : Combine binaries
417417 run : npm run universal
418418 working-directory : ${{ env.WORKING_DIR }}
419419 - name : Upload artifact
420- uses : actions/upload-artifact@v4
420+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
421421 with :
422422 name : bindings-universal-apple-darwin
423423 path : js/gritql/${{ env.APP_NAME }}.*.node
@@ -436,11 +436,11 @@ jobs:
436436 - test-linux-aarch64-musl-binding
437437 - universal-macOS
438438 steps :
439- - uses : actions/checkout@v4
439+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
440440 with :
441441 submodules : recursive
442442 - name : Setup node
443- uses : actions/setup-node@v4
443+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
444444 with :
445445 node-version : 20
446446 registry-url : ' https://registry.npmjs.org'
@@ -450,7 +450,7 @@ jobs:
450450 run : npm install --ignore-scripts
451451 working-directory : ${{ env.WORKING_DIR }}
452452 - name : Download all artifacts
453- uses : actions/download-artifact@v4
453+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
454454 with :
455455 path : ${{ env.WORKING_DIR }}/artifacts
456456 - name : Move artifacts
0 commit comments