Added action1 #6
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: Validate YAMLs | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: [main] | |
jobs: | |
validate-yaml: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Set up Python 3.12 | |
uses: actions/[email protected] | |
with: | |
python-version: 3.12 | |
- name: Install Poetry | |
run: curl -sSL https://install.python-poetry.org | python - | |
- name: Install dependencies with Poetry | |
run: poetry install | |
- name: Run YAML Checks | |
run: poetry run python bin/validate.py -v |