fix: Resolve CI test failures (MySQL container + Jest compatibility) #3403
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: Lint Plugin | |
| on: | |
| pull_request: | |
| branches-ignore: | |
| - 'next' | |
| paths-ignore: | |
| - '**/*.md' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint_plugin: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.1' | |
| - name: Install Dependencies | |
| working-directory: plugins/faustwp | |
| run: composer install | |
| - name: Run Lint | |
| working-directory: plugins/faustwp | |
| run: composer lint | |
| - name: Run PHPCS | |
| working-directory: plugins/faustwp | |
| run: composer phpcs | |
| - name: Run PHPStan | |
| run: composer phpstan | |
| working-directory: plugins/faustwp |