fix(chore): prepare Qodana dirs
Some checks failed
Build, Test, Deploy and Analysis / qodana (push) Failing after 56s
Build, Test, Deploy and Analysis / test-backend (push) Successful in 51s
Build, Test, Deploy and Analysis / build-and-push (push) Successful in 17s
Build, Test, Deploy and Analysis / deploy (push) Successful in 8s

This commit is contained in:
2026-03-03 10:30:43 +01:00
parent 5c27d4d16b
commit 2d1a783e9c

View File

@@ -19,11 +19,20 @@ jobs:
with: with:
fetch-depth: 0 # Fondamentale per Qodana per analizzare la storia fetch-depth: 0 # Fondamentale per Qodana per analizzare la storia
- name: Prepare Qodana dirs
shell: bash
run: |
mkdir -p /tmp/qodana/caches /tmp/qodana/results
mkdir -p .qodana/cache .qodana/results
- name: 'Qodana Scan' - name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2025.3 uses: JetBrains/qodana-action@v2025.3
env: env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
with: with:
project-dir: backend
cache-dir: .qodana/cache
results-dir: .qodana/results
# In Gitea, pr-mode funziona se il runner ha accesso ai dati del clone # In Gitea, pr-mode funziona se il runner ha accesso ai dati del clone
pr-mode: ${{ gitea.event_name == 'pull_request' }} pr-mode: ${{ gitea.event_name == 'pull_request' }}
use-caches: false use-caches: false