Harden web UI error handling for failed scans #164
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: laravel-ci | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| php: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.2' | |
| extensions: mbstring, xml, bcmath, pdo_mysql | |
| - name: Install dependencies | |
| working-directory: wp-malware-scanner-laravel | |
| run: composer install --no-interaction --prefer-dist | |
| - name: Lint routes | |
| working-directory: wp-malware-scanner-laravel | |
| run: php -l routes/web.php |