Tweaks to code and add some tests #622
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
| name: Check if the config schema and the example are up to date | |
| on: push | |
| jobs: | |
| static-code-analysis: | |
| name: Check config schema and example | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| id: checkout | |
| uses: actions/checkout@v5 | |
| - name: Common steps | |
| id: common | |
| uses: ghga-de/gh-action-common@v6 | |
| with: | |
| python-version: '3.13' | |
| - name: Check config docs | |
| id: check-config-docs | |
| run: | | |
| export ${{ steps.common.outputs.CONFIG_YAML_ENV_VAR_NAME }}="${{ steps.common.outputs.CONFIG_YAML }}" | |
| ./scripts/update_config_docs.py --check |