Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to central schemas #17

Merged
merged 1 commit into from
Oct 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,24 @@ permissions:
pull-requests: write

jobs:
json-yaml-validate:
validate-signals:
runs-on: ubuntu-latest
steps:
# Step 1: Check out the current repository
- uses: actions/checkout@v4

- name: Validate signalsets
id: json-yaml-validate-v3
uses: GrantBirki/json-yaml-validate@v2.7.1
# Step 2: Check out the central schema repository
- name: Checkout schemas repo
uses: actions/checkout@v4
with:
comment: "true"
base_dir: signalsets/v3/
json_schema: schema/v3.json

json-yaml-validate-meta:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
repository: OBDb/.schemas
path: .schemas

# Step 3: Validate with schema from the central repository
- name: Validate signalsets
id: json-yaml-validate
id: json-yaml-validate-v3
uses: GrantBirki/json-yaml-validate@v2.7.1
with:
comment: "true"
base_dir: meta/
json_schema: schema/status.json
base_dir: signalsets/v3/
json_schema: .schemas/signals.json
26 changes: 0 additions & 26 deletions schema/status.json

This file was deleted.

167 changes: 0 additions & 167 deletions schema/v3.json

This file was deleted.

Loading