Skip to content

debug

debug #6

Workflow file for this run

on: push
name: Run cjval
jobs:
cjval:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ls -la
- name: Install cjval from crates.io
uses: baptiste0928/[email protected]
with:
crate: cjval
features: "build-binary"
- name: cjval version
run: cjval --version
- name: Run cjval
run: cjval tmoaf.city.json > report.txt || true
- name: Check validation report
run: |
cat report.txt
if [ grep -P '(warning|invalid)' report.txt ]
then
echo "tmoaf.city.json is invalid or has errors"
exit 1
else
echo "All good"
fi