-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adds anatomical site to sample
- Loading branch information
1 parent
c5bb984
commit f4dd6a1
Showing
25 changed files
with
146,355 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 --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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.