feat(HDNEXT-1608): migrate app-list config to ncw-config's .list format #57
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
| # SPDX-FileCopyrightText: 2025 STRATO GmbH | |
| # SPDX-License-Identifier: AGPL-3.0-or-later | |
| name: Config Validation | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: config-validation-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| validate-config: | |
| runs-on: ubuntu-latest | |
| name: Validate config partials (PHP syntax and URLs) | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Set up PHP | |
| uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1 | |
| with: | |
| php-version: '8.3' | |
| - name: Lint config partials | |
| run: | | |
| for f in configs/*.config.php; do | |
| php -l "$f" | |
| done | |
| - name: Validate config URLs | |
| run: php .github/check-config-urls.php |