Skip to content

reporting_organisation update #3714

reporting_organisation update

reporting_organisation update #3714

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install xmllint and dependencies
run: sudo apt-get update && sudo apt-get install libxml2-utils libxml2-dev libxslt-dev
- name: wget schema
run: |
wget "https://raw.githubusercontent.com/codeforIATI/IATI-Codelists/version-2.03/codelist.xsd"
wget "https://raw.githubusercontent.com/codeforIATI/IATI-Codelists/version-2.03/xml.xsd"
- name: xml lint
run: xmllint --schema codelist.xsd --noout xml/*
trigger:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Trigger a build on the codelists repo
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: peter-evans/repository-dispatch@v1
with:
repository: codeforIATI/codelists
token: ${{ secrets.TOKEN }}
event-type: build