[Snyk] Security upgrade node from 20.12.2-slim to iron-bookworm-slim #25
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 | |
- staging/** | |
pull_request: | |
concurrency: | |
group: validation-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
yaml_validation_job: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Lint yaml files | |
uses: ibiqlik/action-yamllint@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pyyaml jsonschema | |
- name: Validate YAML | |
run: | | |
python ./scripts/validation/providers/validate.py ./packages/shared/providers.yaml |