forked from NeTEx-CEN/NeTEx
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (22 loc) · 849 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: CI
on: push
jobs:
run:
runs-on: ubuntu-latest
steps:
- run: echo "Job was automatically triggered by a ${{ github.event_name }} event for branch ${{ github.ref }}"
- name: Check out repository code
uses: actions/checkout@v3
- name: Install xmllint and xsltproc
run: |
sudo apt-get update
sudo apt-get install libxml2-utils xsltproc
- name: Validate structure and lint XSD and XML files
run: ./.github/scripts/validate-and-lint.sh
- name: Validate NeTEx XML examples
run: ./.github/scripts/validate-examples.sh
- name: Commit changes
uses: EndBug/add-and-commit@v9 # https://github.com/marketplace/actions/add-commit
with:
default_author: github_actions
message: 'Lint and update documentation tables'