mirror of
https://github.com/python/cpython.git
synced 2024-11-28 08:20:55 +01:00
75751f4aa5
* Auto-cancel old builds when new commit pushed to branch * Add a fallback Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> * Use the same group for all workflows. Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
33 lines
857 B
YAML
33 lines
857 B
YAML
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
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
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
|