fix(make): make sure github action can check schemas change (#1651)

This commit is contained in:
Dexter Yan
2024-10-16 13:27:14 +13:00
committed by GitHub
parent 78ee833f45
commit 77fd7da315
2 changed files with 7 additions and 4 deletions

View File

@@ -81,7 +81,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: make check-schemas
path: github.com/replicatedhq/troubleshoot
- run: |
cd github.com/replicatedhq/troubleshoot
make check-schemas
compile-preflight:
runs-on: ubuntu-latest
@@ -388,4 +391,4 @@ jobs:
# if the validate-pr-tests job was successful, this job will succeed
- name: succeed if validate-pr-tests job succeeded
if: needs.validate-pr-tests.result == 'success'
run: echo "Validation succeeded"
run: echo "Validation succeeded"