5757 env :
5858 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5959 steps :
60- - uses : actions/checkout@v6
60+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
6161 with :
6262 persist-credentials : false
6363 submodules : recursive
6767 shell : bash
6868 run : " curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.2/cargo-dist-installer.sh | sh"
6969 - name : Cache dist
70- uses : actions/upload-artifact@v5
70+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
7171 with :
7272 name : cargo-dist-cache
7373 path : ~/.cargo/bin/dist
8383 cat plan-dist-manifest.json
8484 echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT"
8585 - name : " Upload dist-manifest.json"
86- uses : actions/upload-artifact@v5
86+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
8787 with :
8888 name : artifacts-plan-dist-manifest
8989 path : plan-dist-manifest.json
@@ -118,7 +118,7 @@ jobs:
118118 - name : enable windows longpaths
119119 run : |
120120 git config --global core.longpaths true
121- - uses : actions/checkout@v6
121+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
122122 with :
123123 persist-credentials : false
124124 submodules : recursive
@@ -129,15 +129,15 @@ jobs:
129129 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
130130 echo "$HOME/.cargo/bin" >> $GITHUB_PATH
131131 fi
132- - uses : swatinem/rust-cache@v2
132+ - uses : swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
133133 with :
134134 key : ${{ join(matrix.targets, '-') }}
135135 cache-provider : ${{ matrix.cache_provider }}
136136 - name : Install dist
137137 run : ${{ matrix.install_dist.run }}
138138 # Get the dist-manifest
139139 - name : Fetch local artifacts
140- uses : actions/download-artifact@v6
140+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
141141 with :
142142 pattern : artifacts-*
143143 path : target/distrib/
@@ -164,7 +164,7 @@ jobs:
164164
165165 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
166166 - name : " Upload artifacts"
167- uses : actions/upload-artifact@v5
167+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
168168 with :
169169 name : artifacts-build-local-${{ join(matrix.targets, '_') }}
170170 path : |
@@ -182,19 +182,19 @@ jobs:
182182 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
183183 BUILD_MANIFEST_NAME : target/distrib/global-dist-manifest.json
184184 steps :
185- - uses : actions/checkout@v6
185+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
186186 with :
187187 persist-credentials : false
188188 submodules : recursive
189189 - name : Install cached dist
190- uses : actions/download-artifact@v6
190+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
191191 with :
192192 name : cargo-dist-cache
193193 path : ~/.cargo/bin/
194194 - run : chmod +x ~/.cargo/bin/dist
195195 # Get all the local artifacts for the global tasks to use (for e.g. checksums)
196196 - name : Fetch local artifacts
197- uses : actions/download-artifact@v6
197+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
198198 with :
199199 pattern : artifacts-*
200200 path : target/distrib/
@@ -212,7 +212,7 @@ jobs:
212212
213213 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
214214 - name : " Upload artifacts"
215- uses : actions/upload-artifact@v5
215+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
216216 with :
217217 name : artifacts-build-global
218218 path : |
@@ -233,19 +233,19 @@ jobs:
233233 outputs :
234234 val : ${{ steps.host.outputs.manifest }}
235235 steps :
236- - uses : actions/checkout@v6
236+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
237237 with :
238238 persist-credentials : false
239239 submodules : recursive
240240 - name : Install cached dist
241- uses : actions/download-artifact@v6
241+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
242242 with :
243243 name : cargo-dist-cache
244244 path : ~/.cargo/bin/
245245 - run : chmod +x ~/.cargo/bin/dist
246246 # Fetch artifacts from scratch-storage
247247 - name : Fetch artifacts
248- uses : actions/download-artifact@v6
248+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
249249 with :
250250 pattern : artifacts-*
251251 path : target/distrib/
@@ -258,14 +258,14 @@ jobs:
258258 cat dist-manifest.json
259259 echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
260260 - name : " Upload dist-manifest.json"
261- uses : actions/upload-artifact@v5
261+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
262262 with :
263263 # Overwrite the previous copy
264264 name : artifacts-dist-manifest
265265 path : dist-manifest.json
266266 # Create a GitHub Release while uploading all files to it
267267 - name : " Download GitHub Artifacts"
268- uses : actions/download-artifact@v6
268+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
269269 with :
270270 pattern : artifacts-*
271271 path : artifacts
@@ -299,7 +299,7 @@ jobs:
299299 env :
300300 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
301301 steps :
302- - uses : actions/checkout@v6
302+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
303303 with :
304304 persist-credentials : false
305305 submodules : recursive
0 commit comments