@@ -29,15 +29,15 @@ jobs:
2929 sudo apt update
3030 sudo apt install -y --no-install-recommends libssl-dev pkg-config
3131
32- - uses : actions/checkout@v4
32+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
3333 with :
3434 persist-credentials : false
3535
3636 - name : Emit rustc version
3737 run : |
3838 rustc --version > .rustc-version
3939
40- - uses : actions/cache@v4
40+ - uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
4141 with :
4242 path : |
4343 ~/.cargo/registry
5050 cargo build --release
5151
5252 - name : Upload pythonbuild Executable
53- uses : actions/upload-artifact@v4
53+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
5454 with :
5555 name : ${{ matrix.crate_artifact_name }}
5656 path : target/release/pythonbuild
@@ -67,20 +67,20 @@ jobs:
6767 permissions :
6868 packages : write
6969 steps :
70- - uses : actions/checkout@v4
70+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
7171 with :
7272 persist-credentials : false
7373
7474 - name : Install Python
75- uses : actions/setup-python@v5
75+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
7676 with :
7777 python-version : " 3.11"
7878
7979 - name : Set up Docker Buildx
80- uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
80+ uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
8181
8282 - name : Login to GitHub Container Registry
83- uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
83+ uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
8484 with :
8585 registry : ghcr.io
8686 username : ${{ github.actor }}
@@ -124,7 +124,7 @@ jobs:
124124 MATRIX_ARCH : ${{ matrix.arch }}
125125
126126 - name : Upload Docker Image
127- uses : actions/upload-artifact@v4
127+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
128128 with :
129129 name : image-${{ matrix.name }}-linux_${{ matrix.arch }}
130130 path : build/image-*
@@ -139,13 +139,13 @@ jobs:
139139 crate-build-matrix : ${{ steps.set-matrix.outputs.crate-build-matrix }}
140140 any_builds : ${{ steps.set-matrix.outputs.any_builds }}
141141 steps :
142- - uses : actions/checkout@v4
142+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
143143 with :
144144 fetch-depth : 0
145145 persist-credentials : false
146146
147147 - name : Set up Python
148- uses : astral-sh/setup-uv@v4
148+ uses : astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # v4.2.0
149149
150150 - name : Get pull request labels
151151 id : get-labels
@@ -211,31 +211,31 @@ jobs:
211211 fail-fast : false
212212 name : ${{ matrix.target_triple }} / ${{ matrix.python }} / ${{ matrix.build_options }}
213213 steps :
214- - uses : actions/checkout@v4
214+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
215215 with :
216216 fetch-depth : 0
217217 persist-credentials : false
218218
219219 - name : Install Python
220- uses : actions/setup-python@v5
220+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
221221 with :
222222 python-version : " 3.11"
223223
224224 - name : Download pythonbuild
225- uses : actions/download-artifact@v4
225+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
226226 with :
227227 name : ${{ matrix.crate_artifact_name }}
228228 path : build
229229
230230 - name : Download images
231- uses : actions/download-artifact@v4
231+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
232232 with :
233233 pattern : image-*
234234 path : build
235235 merge-multiple : true
236236
237237 - name : Cache downloads
238- uses : actions/cache@v4
238+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
239239 with :
240240 path : build/downloads
241241 key : ${{ matrix.target_triple }}-${{ hashFiles('pythonbuild/downloads.py')}}
@@ -271,14 +271,14 @@ jobs:
271271 MATRIX_BUILD_OPTIONS : ${{ matrix.build_options }}
272272
273273 - name : Generate attestations
274- uses : actions/attest-build-provenance@v2
274+ uses : actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2.4.0
275275 if : ${{ github.ref == 'refs/heads/main' }}
276276 with :
277277 subject-path : dist/*
278278
279279 - name : Upload Distribution
280280 if : ${{ ! matrix.dry-run }}
281- uses : actions/upload-artifact@v4
281+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
282282 with :
283283 name : cpython-${{ matrix.python }}-${{ matrix.target_triple }}-${{ matrix.build_options }}
284284 path : dist/*
@@ -319,31 +319,31 @@ jobs:
319319 fail-fast : false
320320 name : ${{ matrix.target_triple }} / ${{ matrix.python }} / ${{ matrix.build_options }}
321321 steps :
322- - uses : actions/checkout@v4
322+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
323323 with :
324324 fetch-depth : 0
325325 persist-credentials : false
326326
327327 - name : Install Python
328- uses : actions/setup-python@v5
328+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
329329 with :
330330 python-version : " 3.11"
331331
332332 - name : Download pythonbuild
333- uses : actions/download-artifact@v4
333+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
334334 with :
335335 name : ${{ matrix.crate_artifact_name }}
336336 path : build
337337
338338 - name : Download images
339- uses : actions/download-artifact@v4
339+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
340340 with :
341341 pattern : image-*
342342 path : build
343343 merge-multiple : true
344344
345345 - name : Cache downloads
346- uses : actions/cache@v4
346+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
347347 with :
348348 path : build/downloads
349349 key : ${{ matrix.target_triple }}-${{ hashFiles('pythonbuild/downloads.py')}}
@@ -379,14 +379,14 @@ jobs:
379379 MATRIX_BUILD_OPTIONS : ${{ matrix.build_options }}
380380
381381 - name : Generate attestations
382- uses : actions/attest-build-provenance@v2
382+ uses : actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2.4.0
383383 if : ${{ github.ref == 'refs/heads/main' }}
384384 with :
385385 subject-path : dist/*
386386
387387 - name : Upload Distribution
388388 if : ${{ ! matrix.dry-run }}
389- uses : actions/upload-artifact@v4
389+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
390390 with :
391391 name : cpython-${{ matrix.python }}-${{ matrix.target_triple }}-${{ matrix.build_options }}
392392 path : dist/*
0 commit comments