1616 build_matrix : ${{ steps.set-matrix.outputs.build_matrix }}
1717 steps :
1818 - name : Checkout
19- uses : actions/checkout@v4
19+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2020 with :
2121 sparse-checkout : |
2222 .github/workflows/matrix.json
@@ -48,30 +48,30 @@ jobs:
4848 echo "matrix.build.RUN_LOCALLY : ${{ matrix.build.RUN_LOCALLY }}"
4949 echo "matrix.build.TARGET : ${{ matrix.build.TARGET }}"
5050 - name : Checkout
51- uses : actions/checkout@v4
51+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5252 - name : Install node
53- uses : actions/setup-node@v4
53+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
5454 with :
5555 node-version : 24
5656 registry-url : " https://registry.npmjs.org"
5757 - name : Update npm
5858 run : npm install -g npm@latest
5959 - name : Install rust toolchain
60- uses : actions-rs/toolchain@v1
60+ uses : actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # v1.0.6
6161 with :
6262 profile : minimal
6363 toolchain : stable
6464 target : ${{ matrix.build.TARGET }}
6565 override : true
6666 components : rustfmt, clippy
6767 - name : Set up cargo cache
68- uses : Swatinem/rust-cache@v2
68+ uses : Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
6969 - name : Install just
70- uses : extractions/setup-just@v1
70+ uses : extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4.0.0
7171 with :
7272 just-version : 1.35.0
7373 - name : Build rust binary
74- uses : actions-rs/cargo@v1
74+ uses : actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # v1.0.1
7575 with :
7676 command : build
7777 args : --release --locked --target ${{ matrix.build.TARGET }}
8282 just --dotenv-filename .env.${{ matrix.build.NAME }} create-npm-binary-package
8383 just --dotenv-filename .env.${{ matrix.build.NAME }} publish-npm-binary-package
8484 - name : Upload artifact
85- uses : actions/upload-artifact@v4
85+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
8686 with :
8787 name : syncpack-${{ matrix.build.TARGET }}
8888 path : target/${{ matrix.build.TARGET }}/release/syncpack
@@ -93,16 +93,16 @@ jobs:
9393 runs-on : ubuntu-22.04
9494 steps :
9595 - name : Checkout
96- uses : actions/checkout@v4
96+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9797 - name : Install node
98- uses : actions/setup-node@v4
98+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
9999 with :
100100 node-version : 24
101101 registry-url : " https://registry.npmjs.org"
102102 - name : Update npm
103103 run : npm install -g npm@latest
104104 - name : Install just
105- uses : extractions/setup-just@v1
105+ uses : extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4.0.0
106106 with :
107107 just-version : 1.35.0
108108 - name : Publish the package
0 commit comments