Skip to content

Commit

Permalink
👷 ci(security): add a job to run composer audit
Browse files Browse the repository at this point in the history
  • Loading branch information
jh3ady committed Oct 26, 2024
1 parent 0e70394 commit f42fba3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/security.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f42fba3

Please sign in to comment.