diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 69db992..ab16643 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -7,10 +7,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@master + uses: actions/checkout@v4 - name: Download schema run: wget http://josm.openstreetmap.de/tagging-preset-1.0 - - name: Lint russian_shops.xml + - 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