split dep check in two job

This commit is contained in:
Lendemor 2024-10-03 23:09:38 +02:00
parent 9d47fa65a9
commit c0a8a327fa

View File

@ -7,11 +7,10 @@ on:
workflow_dispatch: # Allow manual triggering if needed. workflow_dispatch: # Allow manual triggering if needed.
jobs: jobs:
check-dependencies: backend:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# Checkout the repository code
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -35,8 +34,22 @@ jobs:
echo "All dependencies are up to date. (pyright and ruff are ignored)" echo "All dependencies are up to date. (pyright and ruff are ignored)"
fi fi
frontend:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: ./.github/actions/setup_build_env
with:
python-version: 3.9
run-poetry-install: true
create-venv-at-path: .venv
- name: Check outdated frontend dependencies - name: Check outdated frontend dependencies
run: | run: |
reflex init --template blank poetry run reflex init --template blank
cd .web cd .web
bun outdated bun outdated