summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorIllia Volochii <illia.volochii@gmail.com>2022-06-22 16:32:22 +0300
committerGitHub <noreply@github.com>2022-06-22 15:32:22 +0200
commitd36954b7ead06daead3dcf9b0dd9f8002eab508f (patch)
treeab26feb32aeb3287e0241558ffe6491407aa8dba /.github
parentc029b552f39200977325d4351803bdd13ddccc4f (diff)
downloadcpython-git-d36954b7ead06daead3dcf9b0dd9f8002eab508f.tar.gz
gh-91172: Create a workflow for verifying bundled pip and setuptools (GH-31885)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/verify-ensurepip-wheels.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/verify-ensurepip-wheels.yml b/.github/workflows/verify-ensurepip-wheels.yml
new file mode 100644
index 0000000000..61e3d1adf5
--- /dev/null
+++ b/.github/workflows/verify-ensurepip-wheels.yml
@@ -0,0 +1,28 @@
+name: Verify bundled pip and setuptools
+
+on:
+ workflow_dispatch:
+ push:
+ paths:
+ - 'Lib/ensurepip/_bundled/**'
+ - '.github/workflows/verify-ensurepip-wheels.yml'
+ - 'Tools/scripts/verify_ensurepip_wheels.py'
+ pull_request:
+ paths:
+ - 'Lib/ensurepip/_bundled/**'
+ - '.github/workflows/verify-ensurepip-wheels.yml'
+ - 'Tools/scripts/verify_ensurepip_wheels.py'
+
+permissions:
+ contents: read
+
+jobs:
+ verify:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v4
+ with:
+ python-version: '3'
+ - name: Compare checksums of bundled pip and setuptools to ones published on PyPI
+ run: ./Tools/scripts/verify_ensurepip_wheels.py