Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 507 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 507 Bytes

XML Lint Action

This action validates an xml files with a given xml schema using xmllint.

Example usage

name: Lint

on: [push]

jobs:
  xml-linters:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout
      uses: actions/checkout@master
    - name: Download schema
      run: wget https://apps.nextcloud.com/schema/apps/info.xsd
    - name: Lint info.xml
      uses: ateli-development/xmllint-action@master
      env
        MODIFIED_FILES: ${{ steps.file_changes.outputs.files}}