-
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
2c4792b
commit 9781b07
Showing
17 changed files
with
146,111 additions
and
32 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
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 |
Oops, something went wrong.