gh-100538: Add workflow to verify bundled libexpat (GH-145359)
Add workflow to verify bundled libexpat.
(cherry picked from commit
c9a5d9aae48a9faa553a5e8137ff1b5e261f6bf6)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
--- /dev/null
+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/