update check to ignore pyright and ruff

This commit is contained in:
Lendemor 2024-10-03 22:45:00 +02:00
parent ba58483f77
commit 386fbc3b6e

View File

@ -24,12 +24,15 @@ jobs:
- name: Check outdated backend dependencies
run: |
outdated=$(poetry show -oT)
filtered_outdated=$(echo "$outdated" | grep -vE 'pyright|ruff')
if [ ! -z "$outdated" ]; then
echo "Outdated dependencies found:"
echo "$outdated"
exit 1
else
echo "All dependencies are up to date."
echo "All dependencies are up to date. (pyright and ruff are ignored)"
fi
- name: Check outdated frontend dependencies