42
42
run_hypothesis : ${{ steps.check.outputs.run_hypothesis }}
43
43
config_hash : ${{ steps.config_hash.outputs.hash }}
44
44
steps :
45
- - uses : actions/checkout@v3
45
+ - uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
46
46
- name : Check for source changes
47
47
id : check
48
48
run : |
83
83
- name : Get a list of the changed documentation-related files
84
84
if : github.event_name == 'pull_request'
85
85
id : changed-docs-files
86
-
86
+ uses : Ana06/get-changed-files@e0c398b7065a8d84700c471b6afc4116d1ba4e96 # v2.2.0
87
87
with :
88
88
filter : |
89
89
Doc/**
@@ -123,19 +123,19 @@ jobs:
123
123
needs : check_source
124
124
if : needs.check_source.outputs.run_tests == 'true'
125
125
steps :
126
- - uses : actions/checkout@v3
126
+ - uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
127
127
- name : Restore config.cache
128
128
uses : actions/cache@v3
129
129
with :
130
130
path : config.cache
131
131
key : ${{ github.job }}-${{ runner.os }}-${{ needs.check_source.outputs.config_hash }}
132
- - uses : actions/setup-python@v3
132
+ - uses : actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
133
133
- name : Install Dependencies
134
134
run : sudo ./.github/workflows/posix-deps-apt.sh
135
135
- name : Add ccache to PATH
136
136
run : echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
137
137
- name : Configure ccache action
138
- uses :
hendrikmuhs/[email protected]
138
+ uses : hendrikmuhs/ccache-action@ca3acd2731eef11f1572ccb126356c2f9298d35e # v1.2.9
139
139
- name : Check Autoconf and aclocal versions
140
140
run : |
141
141
grep "Generated by GNU Autoconf 2.71" configure
@@ -186,7 +186,7 @@ jobs:
186
186
env :
187
187
IncludeUwp : ' true'
188
188
steps :
189
- - uses : actions/checkout@v3
189
+ - uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
190
190
- name : Build CPython
191
191
run : .\PCbuild\build.bat -e -d -p Win32
192
192
- name : Display build info
@@ -203,7 +203,7 @@ jobs:
203
203
env :
204
204
IncludeUwp : ' true'
205
205
steps :
206
- - uses : actions/checkout@v3
206
+ - uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
207
207
- name : Register MSVC problem matcher
208
208
run : echo "::add-matcher::.github/problem-matchers/msvc.json"
209
209
- name : Build CPython
@@ -225,7 +225,7 @@ jobs:
225
225
HOMEBREW_NO_INSTALL_CLEANUP : 1
226
226
PYTHONSTRICTEXTENSIONBUILD : 1
227
227
steps :
228
- - uses : actions/checkout@v3
228
+ - uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
229
229
- name : Restore config.cache
230
230
uses : actions/cache@v3
231
231
with :
@@ -260,7 +260,7 @@ jobs:
260
260
OPENSSL_VER : 1.1.1u
261
261
PYTHONSTRICTEXTENSIONBUILD : 1
262
262
steps :
263
- - uses : actions/checkout@v3
263
+ - uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
264
264
- name : Register gcc problem matcher
265
265
run : echo "::add-matcher::.github/problem-matchers/gcc.json"
266
266
- name : Install Dependencies
@@ -272,7 +272,7 @@ jobs:
272
272
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> $GITHUB_ENV
273
273
- name : ' Restore OpenSSL build'
274
274
id : cache-openssl
275
- uses : actions/cache@v3
275
+ uses : actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
276
276
with :
277
277
path : ./multissl/openssl/${{ env.OPENSSL_VER }}
278
278
key : ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -283,7 +283,7 @@ jobs:
283
283
run : |
284
284
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
285
285
- name : Configure ccache action
286
- uses :
hendrikmuhs/[email protected]
286
+ uses : hendrikmuhs/ccache-action@ca3acd2731eef11f1572ccb126356c2f9298d35e # v1.2.9
287
287
- name : Setup directory envs for out-of-tree builds
288
288
run : |
289
289
echo "CPYTHON_RO_SRCDIR=$(realpath -m ${GITHUB_WORKSPACE}/../cpython-ro-srcdir)" >> $GITHUB_ENV
@@ -333,7 +333,7 @@ jobs:
333
333
OPENSSL_DIR : ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}
334
334
LD_LIBRARY_PATH : ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}/lib
335
335
steps :
336
- - uses : actions/checkout@v3
336
+ - uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
337
337
- name : Restore config.cache
338
338
uses : actions/cache@v3
339
339
with :
@@ -350,7 +350,7 @@ jobs:
350
350
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> $GITHUB_ENV
351
351
- name : ' Restore OpenSSL build'
352
352
id : cache-openssl
353
- uses : actions/cache@v3
353
+ uses : actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
354
354
with :
355
355
path : ./multissl/openssl/${{ env.OPENSSL_VER }}
356
356
key : ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -361,7 +361,7 @@ jobs:
361
361
run : |
362
362
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
363
363
- name : Configure ccache action
364
- uses :
hendrikmuhs/[email protected]
364
+ uses : hendrikmuhs/ccache-action@ca3acd2731eef11f1572ccb126356c2f9298d35e # v1.2.9
365
365
- name : Configure CPython
366
366
run : ./configure --config-cache --with-pydebug --with-openssl=$OPENSSL_DIR
367
367
- name : Build CPython
@@ -381,7 +381,7 @@ jobs:
381
381
OPENSSL_VER : 1.1.1u
382
382
PYTHONSTRICTEXTENSIONBUILD : 1
383
383
steps :
384
- - uses : actions/checkout@v3
384
+ - uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
385
385
- name : Register gcc problem matcher
386
386
run : echo "::add-matcher::.github/problem-matchers/gcc.json"
387
387
- name : Install Dependencies
@@ -393,7 +393,7 @@ jobs:
393
393
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> $GITHUB_ENV
394
394
- name : ' Restore OpenSSL build'
395
395
id : cache-openssl
396
- uses : actions/cache@v3
396
+ uses : actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
397
397
with :
398
398
path : ./multissl/openssl/${{ env.OPENSSL_VER }}
399
399
key : ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -404,7 +404,7 @@ jobs:
404
404
run : |
405
405
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
406
406
- name : Configure ccache action
407
- uses :
hendrikmuhs/[email protected]
407
+ uses : hendrikmuhs/ccache-action@ca3acd2731eef11f1572ccb126356c2f9298d35e # v1.2.9
408
408
- name : Setup directory envs for out-of-tree builds
409
409
run : |
410
410
echo "CPYTHON_RO_SRCDIR=$(realpath -m ${GITHUB_WORKSPACE}/../cpython-ro-srcdir)" >> $GITHUB_ENV
@@ -491,7 +491,7 @@ jobs:
491
491
PYTHONSTRICTEXTENSIONBUILD : 1
492
492
ASAN_OPTIONS : detect_leaks=0:allocator_may_return_null=1:handle_segv=0
493
493
steps :
494
- - uses : actions/checkout@v3
494
+ - uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
495
495
- name : Restore config.cache
496
496
uses : actions/cache@v3
497
497
with :
@@ -502,7 +502,7 @@ jobs:
502
502
- name : Install Dependencies
503
503
run : sudo ./.github/workflows/posix-deps-apt.sh
504
504
- name : Set up GCC-10 for ASAN
505
- uses : egor-tensin/setup-gcc@v1
505
+ uses : egor-tensin/setup-gcc@eaa888eb19115a521fa72b65cd94fe1f25bbcaac # v1.3
506
506
with :
507
507
version : 10
508
508
- name : Configure OpenSSL env vars
@@ -512,7 +512,7 @@ jobs:
512
512
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> $GITHUB_ENV
513
513
- name : ' Restore OpenSSL build'
514
514
id : cache-openssl
515
- uses : actions/cache@v3
515
+ uses : actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
516
516
with :
517
517
path : ./multissl/openssl/${{ env.OPENSSL_VER }}
518
518
key : ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -523,7 +523,7 @@ jobs:
523
523
run : |
524
524
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
525
525
- name : Configure ccache action
526
- uses :
hendrikmuhs/[email protected]
526
+ uses : hendrikmuhs/ccache-action@ca3acd2731eef11f1572ccb126356c2f9298d35e # v1.2.9
527
527
- name : Configure CPython
528
528
run : ./configure --config-cache --with-address-sanitizer --without-pymalloc
529
529
- name : Build CPython
0 commit comments