Skip to content

Update to use latest template with gh actions #2

Update to use latest template with gh actions

Update to use latest template with gh actions #2

Workflow file for this run

name: Validate schema
on: [push, pull_request, workflow_dispatch]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install HDMF
run: |
pip install hdmf
- name: Download latest nwb schema language specification
run: |
curl -L https://raw.githubusercontent.com/NeurodataWithoutBorders/nwb-schema/dev/nwb.schema.json -o nwb.schema.json
- name: Validate schema specification
run: |
validate_hdmf_spec spec -m nwb.schema.json