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 - name: Check outdated backend dependencies
run: | run: |
outdated=$(poetry show -oT) outdated=$(poetry show -oT)
filtered_outdated=$(echo "$outdated" | grep -vE 'pyright|ruff')
if [ ! -z "$outdated" ]; then if [ ! -z "$outdated" ]; then
echo "Outdated dependencies found:" echo "Outdated dependencies found:"
echo "$outdated" echo "$outdated"
exit 1 exit 1
else else
echo "All dependencies are up to date." echo "All dependencies are up to date. (pyright and ruff are ignored)"
fi fi
- name: Check outdated frontend dependencies - name: Check outdated frontend dependencies