Skip to content

Commit

Permalink
refs #2951 Added check for outdated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Feb 4, 2025
1 parent 105ff05 commit 19382c5
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,32 @@ jobs:
- name: Validate composer.json and composer.lock 👀
run: composer validate

composer-outdated:
name: composer-outdated
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup PHP 🔧
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: none
tools: composer:v2

- name: Install dependencies
run: composer install --no-progress --no-suggest

- name: Check for outdated dependencies
run: |
if [ -n "$(composer outdated --direct)" ]; then
echo "❌ There are outdated dependencies!"
composer outdated --direct
exit 1
fi
shell: bash

psalm:
name: psalm
runs-on: ubuntu-latest
Expand Down

0 comments on commit 19382c5

Please sign in to comment.