security #252
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: security | |
| on: | |
| push: | |
| branches: | |
| - 'gh-pages' | |
| pull_request: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| security: | |
| name: Security on PHP ${{ matrix.php-version }} (Ubuntu 24.04) | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| php-version: | |
| - '8.4' | |
| steps: | |
| - name: Setup PHP ${{ matrix.php-version }} | |
| uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| - name: Checkout Repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Install Dependencies | |
| run: composer install --prefer-dist --no-interaction --no-progress --dev | |
| - name: Run Composer Audit | |
| run: composer audit |