]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-100538: Add workflow to verify bundled libexpat (GH-145359)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Sun, 1 Mar 2026 19:48:28 +0000 (19:48 +0000)
committerGitHub <noreply@github.com>
Sun, 1 Mar 2026 19:48:28 +0000 (11:48 -0800)
Add workflow to verify bundled libexpat.

.github/workflows/verify-expat.yml [new file with mode: 0644]

diff --git a/.github/workflows/verify-expat.yml b/.github/workflows/verify-expat.yml
new file mode 100644 (file)
index 0000000..6b12b95
--- /dev/null
@@ -0,0 +1,32 @@
+name: Verify bundled libexpat
+
+on:
+  workflow_dispatch:
+  push:
+    paths:
+      - 'Modules/expat/**'
+      - '.github/workflows/verify-expat.yml'
+  pull_request:
+    paths:
+      - 'Modules/expat/**'
+      - '.github/workflows/verify-expat.yml'
+
+permissions:
+  contents: read
+
+concurrency:
+  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+  cancel-in-progress: true
+
+jobs:
+  verify:
+    runs-on: ubuntu-latest
+    timeout-minutes: 5
+    steps:
+      - uses: actions/checkout@v6
+        with:
+          persist-credentials: false
+      - name: Download and verify bundled libexpat files
+        run: |
+          ./Modules/expat/refresh.sh
+          git diff --exit-code Modules/expat/