Skip to content

Commit

Permalink
Validate all of the XML files in a GitHub Action (#1052)
Browse files Browse the repository at this point in the history
Co-authored-by: Luffy <[email protected]>
  • Loading branch information
jimwins and sy-records authored Aug 22, 2024
1 parent 2bbf3dd commit 904835a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ jobs:
- name: "Run friendsofphp/php-cs-fixer"
run: "vendor/bin/php-cs-fixer fix --ansi --config=.php-cs-fixer.php --diff --dry-run --show-progress=dots --verbose"

- name: "Get libxml2-utils"
run: |
set -x
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update -y | true
sudo apt-get install -y libxml2-utils
- name: "Validate XML files"
run: "for a in $(find . -name '*.xml'); do xmllint --quiet --noout $a; done"

tests:
name: "Tests"

Expand Down

0 comments on commit 904835a

Please sign in to comment.