Skip to content

chore(deps): update actions/setup-python action to v5 (#79) #7

chore(deps): update actions/setup-python action to v5 (#79)

chore(deps): update actions/setup-python action to v5 (#79) #7

---
name: Validate environments
"on":
push:
paths:
- .github/workflows/validate-environments.yml
- environments/schema.yaml
- environments/**/.tcs.yml
branches:
- main
pull_request:
paths:
- .github/workflows/validate-environments.yml
- environments/schema.yaml
- environments/**/.tcs.yml
jobs:
validate-environments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
- run: pip3 install yamale ruamel.yaml
- run: find environments -name .tcs.yaml | xargs -n1 yamale -s environments/schema.yaml -p ruamel