diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml new file mode 100644 index 0000000..b58254f --- /dev/null +++ b/.github/workflows/security.yaml @@ -0,0 +1,32 @@ +name: Security + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + composer_audit: + runs-on: ubuntu-latest + + strategy: + matrix: + php: [ 8.3 ] + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + + - name: Install dependencies + run: composer install --no-progress --no-suggest --prefer-dist + + - name: Composer audit + run: composer audit