Mavryk Protocol integration #12
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: Preview | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
# preview: | |
# name: Pulumi Preview | |
# # don't do this on fork - this would not work because secrets would not be accessible | |
# if: github.event.pull_request.head.repo.full_name == github.repository | |
# uses: ./.github/workflows/_pulumi.yml | |
# secrets: inherit | |
# with: | |
# pulumi-command: preview | |
validate-yaml: | |
name: Validate YAML Files | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Validate YAML Files | |
run: | | |
python -c "import yaml, glob; [yaml.safe_load(open(file)) for file in glob.glob('networks/*/*.yaml')]" |