Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 100 additions & 0 deletions .github/workflows/actions.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# This file is machine-generated by `gh actions-lock`.
# Do not edit by hand; run `gh actions-lock` to update.
# Docs: https://gh.io/actions-lockfile
version: 'v0.0.3'
workflows:
'.github/workflows/build.yml':
- 'actions/cache@v6.1.0'
- 'actions/checkout@v7.0.1'
- 'actions/setup-python@v7.0.0'
- 'actions/upload-artifact@v7.0.1'
- 'egor-tensin/setup-gcc@a2861a8b8538f49cf2850980acccf6b05a1b2ae4'
- 'hendrikmuhs/ccache-action@v1.2.24'
- 're-actors/alls-green@v1.3.0'
'.github/workflows/lint.yml':
- 'actions/checkout@v7.0.1'
- 'j178/prek-action@v3.0.0'
'.github/workflows/mypy.yml':
- 'actions/checkout@v7.0.1'
- 'actions/setup-python@v7.0.0'
'.github/workflows/require-pr-label.yml':
- 'mheap/github-action-required-labels@v5.6.0'
'.github/workflows/reusable-change-detection.yml':
- 'actions/checkout@v7.0.1'
- 'ana06/get-changed-files@v2.3.0'
'.github/workflows/reusable-context.yml':
- 'actions/checkout@v7.0.1'
- 'actions/setup-python@v7.0.0'
'.github/workflows/reusable-docs.yml':
- 'actions/cache@v6.1.0'
- 'actions/checkout@v7.0.1'
- 'actions/setup-python@v7.0.0'
'.github/workflows/reusable-macos.yml':
- 'actions/cache@v6.1.0'
- 'actions/checkout@v7.0.1'
'.github/workflows/reusable-tsan.yml':
- 'actions/cache@v6.1.0'
- 'actions/checkout@v7.0.1'
- 'hendrikmuhs/ccache-action@v1.2.24'
'.github/workflows/reusable-ubuntu.yml':
- 'actions/cache@v6.1.0'
- 'actions/checkout@v7.0.1'
- 'hendrikmuhs/ccache-action@v1.2.24'
'.github/workflows/reusable-windows.yml':
- 'actions/checkout@v7.0.1'
'.github/workflows/verify-ensurepip-wheels.yml':
- 'actions/checkout@v7.0.1'
- 'actions/setup-python@v7.0.0'
'.github/workflows/verify-expat.yml':
- 'actions/checkout@v7.0.1'
dependencies:
'actions/cache@v6.1.0':
ref: 'v6.1.0'
commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
owner_id: 44036562
repo_id: 215566462
'actions/checkout@v7.0.1':
ref: 'v7.0.1'
commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
owner_id: 44036562
repo_id: 197814629
'actions/setup-python@v7.0.0':
ref: 'v7.0.0'
commit: 'sha1-5fda3b95a4ea91299a34e894583c3862153e4b97'
owner_id: 44036562
repo_id: 192625525
'actions/upload-artifact@v7.0.1':
ref: 'v7.0.1'
commit: 'sha1-043fb46d1a93c77aae656e7c1c64a875d1fc6a0a'
owner_id: 44036562
repo_id: 192625955
'ana06/get-changed-files@v2.3.0':
ref: 'v2.3.0'
commit: 'sha1-25f79e676e7ea1868813e21465014798211fad8c'
owner_id: 16052290
repo_id: 368992295
'egor-tensin/setup-gcc@a2861a8b8538f49cf2850980acccf6b05a1b2ae4':
ref: 'master'
commit: 'sha1-a2861a8b8538f49cf2850980acccf6b05a1b2ae4'
owner_id: 355889
repo_id: 324233414
'hendrikmuhs/ccache-action@v1.2.24':
ref: 'v1.2.24'
commit: 'sha1-f09c25b45002a07be2955cbe52e8cee55643f89d'
owner_id: 7126422
repo_id: 319035161
'j178/prek-action@v3.0.0':
ref: 'v3.0.0'
commit: 'sha1-4e14d07f9231acabce116ccfca13b13dd9755ece'
owner_id: 10510431
repo_id: 1052387486
'mheap/github-action-required-labels@v5.6.0':
ref: 'v5.6.0'
commit: 'sha1-23e10fde7e062233401931a0eece796cd9bf3177'
owner_id: 59130
repo_id: 272521528
're-actors/alls-green@v1.3.0':
ref: 'v1.3.0'
commit: 'sha1-b5b5b37504aa4183270bd3d855c52a67f212be35'
owner_id: 46427759
repo_id: 434447646
58 changes: 29 additions & 29 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
# || 'falsy-branch'
# }}
#
uses: ./.github/workflows/reusable-context.yml
uses: $/.github/workflows/reusable-context.yml

check-docs:
name: Docs
needs: build-context
if: fromJSON(needs.build-context.outputs.run-docs)
uses: ./.github/workflows/reusable-docs.yml
uses: $/.github/workflows/reusable-docs.yml

check-abi:
name: 'Check if the ABI has changed'
Expand All @@ -50,10 +50,10 @@ jobs:
needs: build-context
if: needs.build-context.outputs.run-tests == 'true'
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
- uses: actions/setup-python@v7.0.0
- name: Install dependencies
run: |
sudo ./.github/workflows/posix-deps-apt.sh
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
if: ${{ failure() && steps.check.conclusion == 'failure' }}
run: |
make regen-abidump
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
- uses: actions/upload-artifact@v7.0.1
name: Publish updated ABI files
if: ${{ failure() && steps.check.conclusion == 'failure' }}
with:
Expand All @@ -104,7 +104,7 @@ jobs:
run: |
apt update && apt install git -yq
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 1
persist-credentials: false
Expand Down Expand Up @@ -141,16 +141,16 @@ jobs:
needs: build-context
if: needs.build-context.outputs.run-tests == 'true'
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
- uses: actions/setup-python@v7.0.0
with:
python-version: '3.x'
- name: Runner image version
run: echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
- name: Restore config.cache
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
uses: actions/cache@v6.1.0
with:
path: config.cache
# Include env.pythonLocation in key to avoid changes in environment when setup-python updates Python
Expand All @@ -160,7 +160,7 @@ jobs:
- name: Add ccache to PATH
run: echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
- name: Configure ccache action
uses: hendrikmuhs/ccache-action@f09c25b45002a07be2955cbe52e8cee55643f89d # v1.2.24
uses: hendrikmuhs/ccache-action@v1.2.24
with:
save: false
- name: Configure CPython
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:
free-threading:
- false
# - true
uses: ./.github/workflows/reusable-windows.yml
uses: $/.github/workflows/reusable-windows.yml
with:
arch: ${{ matrix.arch }}
free-threading: ${{ matrix.free-threading }}
Expand All @@ -236,7 +236,7 @@ jobs:
exclude:
- os: macos-26-intel
free-threading: true
uses: ./.github/workflows/reusable-macos.yml
uses: $/.github/workflows/reusable-macos.yml
with:
config_hash: ${{ needs.build-context.outputs.config-hash }}
free-threading: ${{ matrix.free-threading }}
Expand All @@ -254,7 +254,7 @@ jobs:
free-threading:
- false
# - true
uses: ./.github/workflows/reusable-ubuntu.yml
uses: $/.github/workflows/reusable-ubuntu.yml
with:
config_hash: ${{ needs.build-context.outputs.config-hash }}
free-threading: ${{ matrix.free-threading }}
Expand All @@ -276,13 +276,13 @@ jobs:
OPENSSL_DIR: ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}
LD_LIBRARY_PATH: ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}/lib
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- name: Runner image version
run: echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
- name: Restore config.cache
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
uses: actions/cache@v6.1.0
with:
path: config.cache
key: ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
Expand All @@ -297,7 +297,7 @@ jobs:
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> "$GITHUB_ENV"
- name: 'Restore OpenSSL build'
id: cache-openssl
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
uses: actions/cache@v6.1.0
with:
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
key: ${{ matrix.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
Expand All @@ -308,7 +308,7 @@ jobs:
run: |
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
- name: Configure ccache action
uses: hendrikmuhs/ccache-action@f09c25b45002a07be2955cbe52e8cee55643f89d # v1.2.24
uses: hendrikmuhs/ccache-action@v1.2.24
with:
save: false
- name: Configure CPython
Expand All @@ -330,7 +330,7 @@ jobs:
OPENSSL_VER: 3.0.15
PYTHONSTRICTEXTENSIONBUILD: 1
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- name: Register gcc problem matcher
Expand All @@ -344,7 +344,7 @@ jobs:
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> "$GITHUB_ENV"
- name: 'Restore OpenSSL build'
id: cache-openssl
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
uses: actions/cache@v6.1.0
with:
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
Expand All @@ -355,7 +355,7 @@ jobs:
run: |
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
- name: Configure ccache action
uses: hendrikmuhs/ccache-action@f09c25b45002a07be2955cbe52e8cee55643f89d # v1.2.24
uses: hendrikmuhs/ccache-action@v1.2.24
with:
save: false
- name: Setup directory envs for out-of-tree builds
Expand All @@ -369,7 +369,7 @@ jobs:
- name: Runner image version
run: echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
- name: Restore config.cache
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
uses: actions/cache@v6.1.0
with:
path: ${{ env.CPYTHON_BUILDDIR }}/config.cache
key: ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
Expand Down Expand Up @@ -402,7 +402,7 @@ jobs:
./python -m venv "$VENV_LOC" && "$VENV_PYTHON" -m pip install -r "${GITHUB_WORKSPACE}/Tools/requirements-hypothesis.txt"
- name: 'Restore Hypothesis database'
id: cache-hypothesis-database
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
uses: actions/cache@v6.1.0
with:
path: ./hypothesis
key: hypothesis-database-${{ github.head_ref || github.run_id }}
Expand All @@ -428,7 +428,7 @@ jobs:
-x test_subprocess \
-x test_signal \
-x test_sysconfig
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
- uses: actions/upload-artifact@v7.0.1
if: always()
with:
name: hypothesis-example-db
Expand All @@ -449,13 +449,13 @@ jobs:
PYTHONSTRICTEXTENSIONBUILD: 1
ASAN_OPTIONS: detect_leaks=0:allocator_may_return_null=1:handle_segv=0
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- name: Runner image version
run: echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
- name: Restore config.cache
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
uses: actions/cache@v6.1.0
with:
path: config.cache
key: ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
Expand All @@ -474,7 +474,7 @@ jobs:
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> "$GITHUB_ENV"
- name: 'Restore OpenSSL build'
id: cache-openssl
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
uses: actions/cache@v6.1.0
with:
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
key: ${{ matrix.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
Expand All @@ -485,7 +485,7 @@ jobs:
run: |
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
- name: Configure ccache action
uses: hendrikmuhs/ccache-action@f09c25b45002a07be2955cbe52e8cee55643f89d # v1.2.24
uses: hendrikmuhs/ccache-action@v1.2.24
with:
save: ${{ github.event_name == 'push' }}
max-size: "200M"
Expand All @@ -509,7 +509,7 @@ jobs:
matrix:
free-threading:
- false
uses: ./.github/workflows/reusable-tsan.yml
uses: $/.github/workflows/reusable-tsan.yml
with:
config_hash: ${{ needs.build-context.outputs.config-hash }}
free-threading: ${{ matrix.free-threading }}
Expand All @@ -534,7 +534,7 @@ jobs:

steps:
- name: Check whether the needed jobs succeeded or failed
uses: re-actors/alls-green@b5b5b37504aa4183270bd3d855c52a67f212be35
uses: re-actors/alls-green@v1.3.0
with:
allowed-failures: >-
build-ubuntu-ssltests,
Expand Down
19 changes: 17 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,22 @@ jobs:
timeout-minutes: 10

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- uses: j178/prek-action@4e14d07f9231acabce116ccfca13b13dd9755ece # v3.0.0
- uses: j178/prek-action@v3.0.0

# Fails when .github/workflows/actions.lock is out of sync with the
# workflows or a locked pin no longer verifies upstream.
lockfile:
runs-on: ubuntu-slim
timeout-minutes: 10
env:
GH_TOKEN: ${{ github.token }}

steps:
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- run: gh extension install github/gh-actions-lock --pin v0.4.1
- run: gh actions-lock --verify
4 changes: 2 additions & 2 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
- uses: actions/setup-python@v7.0.0
with:
python-version: "3.x"
cache: pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/require-pr-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
timeout-minutes: 10

steps:
- uses: mheap/github-action-required-labels@23e10fde7e062233401931a0eece796cd9bf3177 # v5.6.0
- uses: mheap/github-action-required-labels@v5.6.0
with:
mode: exactly
count: 0
Expand Down
Loading
Loading