fix(deploy): prova workflow

This commit is contained in:
2026-03-03 13:00:14 +01:00
parent 173a6b70d2
commit 76f648e82a

View File

@@ -77,21 +77,18 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Set up Python - name: Install Python and Semgrep
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Semgrep
shell: bash shell: bash
run: | run: |
python -m pip install --upgrade pip apt-get update
python -m pip install semgrep apt-get install -y --no-install-recommends python3 python3-pip
python3 -m pip install --upgrade pip
python3 -m pip install semgrep
- name: Run Semgrep (SAST) - name: Run Semgrep (SAST)
shell: bash shell: bash
run: | run: |
semgrep --config auto --error \ python3 -m semgrep --config auto --error \
--exclude frontend/node_modules \ --exclude frontend/node_modules \
--exclude backend/build \ --exclude backend/build \
backend/src frontend/src backend/src frontend/src