Fix parameter name: y due to reserved keyword in YAML #104
This file contains hidden or 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 | |
permissions: | |
contents: read | |
on: | |
push: | |
paths: | |
- 'elements/**/*.yaml' | |
- 'events/**/*.yaml' | |
- 'functions/**/*.yaml' | |
- 'schemas/**/*.yaml' | |
pull_request: | |
paths: | |
- 'elements/**/*.yaml' | |
- 'events/**/*.yaml' | |
- 'functions/**/*.yaml' | |
- 'schemas/**/*.yaml' | |
workflow_dispatch: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- name: Run validator | |
run: | | |
chmod +x tools/yajsv tools/validate.sh | |
tools/validate.sh |