Update lint.yaml #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: [push, pull_request] | |
jobs: | |
xml-linters: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Download schema | |
run: wget http://josm.openstreetmap.de/tagging-preset-1.0 | |
- name: Enable annotations for validation errors and warnings | |
uses: korelstar/xmllint-problem-matcher@v1 | |
- name: Validate russian_shops.xml using XML schema tagging-preset.xsd | |
uses: ChristophWurst/xmllint-action@v1 | |
with: | |
xml-file: ./russian_shops.xml | |
xml-schema-file: ./tagging-preset.xsd |