Skip to content

Commit

Permalink
feat: adds anatomical site to sample
Browse files Browse the repository at this point in the history
  • Loading branch information
claymcleod committed Nov 7, 2024
1 parent 2c4792b commit 9781b07
Show file tree
Hide file tree
Showing 17 changed files with 146,111 additions and 32 deletions.
49 changes: 29 additions & 20 deletions .github/workflows/specification.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,32 @@
name: Specification

on:
push:
branches:
- main
paths:
- 'swagger.yml'
pull_request:
paths:
- 'swagger.yml'

on:
push:
branches:
- main
pull_request:

jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'latest'
- name: Install spectral
run: npm install -g @stoplight/spectral-cli
- run: spectral lint swagger.yml
matches:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update Rust
run: rustup update nightly && rustup default nightly
- run: |
cd packages
cargo run --all-features --release --bin ccdi-spec generate > ../current-swagger.yml
- run: |
if ! diff swagger.yml current-swagger.yml; then
exit 1
fi
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "latest"
- name: Install spectral
run: npm install -g @stoplight/spectral-cli
- run: spectral lint swagger.yml
Loading

0 comments on commit 9781b07

Please sign in to comment.