Update actions/setup-python action to v5 #9
Workflow file for this run
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 blueprints | |
"on": | |
push: | |
paths: | |
- .github/workflows/validate-blueprints.yml | |
- blueprints/schema.yaml | |
- blueprints/**/.tcs.yml | |
branches: | |
- main | |
pull_request: | |
paths: | |
- .github/workflows/validate-blueprints.yml | |
- blueprints/schema.yaml | |
- blueprints/**/.tcs.yml | |
jobs: | |
validate-blueprints: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v5 | |
- run: pip3 install yamale ruamel.yaml | |
- run: wget https://raw.githubusercontent.com/thecloudsphere/tcsctl/main/tcsctl/schemas/schema.blueprint.yaml | |
- run: find blueprints -name .tcs.yaml | xargs -n1 yamale -s schema.blueprint.yaml -p ruamel |