Merge pull request #639 from OpenConext/fix/main-fuckup #3484
Workflow file for this run
This file contains hidden or 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
| # Github action to run syntax check | |
| name: syntax | |
| on: | |
| push: | |
| paths: | |
| - 'environments/**' | |
| - 'group_vars/**' | |
| - 'roles/**' | |
| - '.github/workflows/syntax.yml' | |
| pull_request: | |
| paths: | |
| - 'environments/**' | |
| - 'group_vars/**' | |
| - 'roles/**' | |
| - '.github/workflows/syntax.yml' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python 3.8 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.8 | |
| - name: Installing dependencies | |
| run: pip install jinja2 ansible | |
| - name: Run syntax check | |
| run: ./scripts/syntax-check |