Skip to content

Merge pull request #131 from ToshY/feature/130 #289

Merge pull request #131 from ToshY/feature/130

Merge pull request #131 from ToshY/feature/130 #289

Workflow file for this run

name: Security Check
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '0 3 * * 0'
jobs:
build:
name: Security check
runs-on: ubuntu-latest
strategy:
matrix:
php-versions:
- '8.1'
- '8.2'
- '8.3'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Install Composer dependencies
uses: ramsey/composer-install@v3
with:
composer-options: '--prefer-stable'
- id: security-check
name: Check for vulnerabilities
uses: symfonycorp/security-checker-action@v5
with:
disable-exit-code: 1
- name: Display vulnerabilities as JSON
run: echo ${{ steps.security-check.outputs.vulns }}