script: fix definition yml handling, more robust yml handling & loggi… #2374
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
--- | |
name: Yaml Validation | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
lint: | |
name: Lint Yaml | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: yamllint version | |
run: | | |
yamllint --version | |
- name: yamllint run | |
run: | | |
yamllint definitions --format github | |
schema_validate: | |
name: Validate Schema | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm ci | |
- name: yaml schema check | |
run: | | |
bash ./scripts/validate.sh |