fix(package): publish current module provider capabilities #6
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: Quality | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| branches: ["**"] | |
| permissions: | |
| contents: read | |
| jobs: | |
| quality: | |
| name: Quality checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: "8.2" | |
| tools: composer:v2 | |
| coverage: none | |
| - name: Validate JSON files | |
| run: php .github/scripts/validate-json.php | |
| - name: Validate composer.json | |
| if: ${{ hashFiles('composer.json') != '' }} | |
| run: composer validate --strict | |
| - name: Install Composer dependencies | |
| if: ${{ hashFiles('composer.json') != '' }} | |
| run: composer install --prefer-dist --no-interaction --no-progress --ignore-platform-req='ext-*' | |
| - name: Run Composer quality script | |
| if: ${{ hashFiles('composer.json') != '' }} | |
| run: composer run quality |