Skip to content

More Content and Fixes #1668

More Content and Fixes

More Content and Fixes #1668

Workflow file for this run

name: Validation
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
data:
name: Data
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install xmlstarlet
run: |
sudo apt-get update
sudo apt-get install -y xmlstarlet
- name: Validate the data
run: |
VALIDATE_DATA_OUTPUT="$(bash scripts/validate-data.sh | tr '\0' '\n')"
if [ -n "${VALIDATE_DATA_OUTPUT}" ]; then
echo "${VALIDATE_DATA_OUTPUT}"
exit 1
fi
scripts:
name: Scripts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Shellcheck
run: shopt -s globstar nullglob; shellcheck **/*.sh --severity error