Skip to content

Update actions/setup-python action to v5 #9

Update actions/setup-python action to v5

Update actions/setup-python action to v5 #9

---
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