Skip to content

Fix broken link in sdk-migration-config.yaml (#133) #330

Fix broken link in sdk-migration-config.yaml (#133)

Fix broken link in sdk-migration-config.yaml (#133) #330

Workflow file for this run

name: Build Check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
check-schema:
runs-on: ubuntu-latest
steps:
- name: check out code
uses: actions/checkout@v2
- name: install dependencies
run: npm install
- name: compile schema
run: make compile-schema
- name: validate example
run: make validate-examples
- name: generate descriptions
run: make generate-descriptions
- name: check for diff
run: |
# need to "git add" to detect any changes to descriptions which are not checked in
# select files from both /examples
git add examples**
if git diff --cached --quiet
then
echo "No diff detected."
else
echo "Diff detected - did you run 'make generate-descriptions'?"
echo $(git diff --cached --name-only)
echo $(git diff --cached)
exit 1
fi