obs-studio/.github/workflows/qt-xml.yml
Ryan Foster 2f974da551 CI: Update GitHub Actions
Update all of our GitHub Actions to the latest versions. Notably, the
update to actions/cache gives support for the 10GB GitHub Actions cache,
and the updates for the other first-party actions are required for
future M1 runner support.
2022-03-21 13:46:40 -04:00

31 lines
667 B
YAML

name: UI XML Validator
on:
push:
paths-ignore:
- "cmake/**"
pull_request:
paths:
- "UI/forms/**"
jobs:
qt-xml-validator:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Install xmllint
run: |
sudo apt-get -qq update
sudo apt-get install --no-install-recommends -y libxml2-utils
- name: Register Annotations
uses: korelstar/xmllint-problem-matcher@v1
- name: Validate
run: |
xmllint --schema UI/forms/XML-Schema-Qt5.15.xsd --noout UI/forms/*.ui UI/forms/**/*.ui