From 0b813742bde8f14591b107ab4947d7fc13e73299 Mon Sep 17 00:00:00 2001 From: Talv Date: Tue, 2 Jul 2024 21:10:37 +0200 Subject: [PATCH] configure simple CI for xmllint --- .github/workflows/lint.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..0655fd1 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,23 @@ +name: Lint + +on: + push: {} + pull_request: + branches: + - master + +jobs: + lint-xml: + runs-on: ubuntu-latest + + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v4 + + - name: Install deps + run: | + sudo apt-get update + sudo apt-get install -y libxml2-utils + + - name: Validate schema against XSD + run: ./validate.sh