Skip to content

remove capital letters from US and Canadian Onestop IDs (#1254) #3869

remove capital letters from US and Canadian Onestop IDs (#1254)

remove capital letters from US and Canadian Onestop IDs (#1254) #3869

Workflow file for this run

name: Validate
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Install dependencies
run: |
pip install pipenv
cd scripts && pipenv install
- name: Install transitland-lib
run: scripts/install-transitland-lib.sh
- name: Validate against DMFR schema
run: |
wget https://dmfr.transit.land/json-schema/dmfr.schema-v0.5.0.json -O dmfr.schema.json
npx ajv-cli validate -s dmfr.schema.json -d "feeds/*.json"
- name: Lint against the opinionated DMFR format
run: |
transitland dmfr lint feeds/*.dmfr.json
- name: Validate against transitland-lib
run: cd scripts && python validate-feeds.py