Skip to content
Merged

Dev #23

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

permissions:
contents: read
packages: write # Required for GHCR
packages: write

jobs:

Expand All @@ -32,11 +32,9 @@ jobs:
distribution: 'temurin'
cache: maven

# Build & Test depuis la racine (Reactor gère les dépendances)
- name: Build & Test All Services
run: mvn clean verify -B --no-transfer-progress

# Upload des rapports JaCoCo (optionnel pour l'artefact de build)
- name: Upload JaCoCo Reports
uses: actions/upload-artifact@v4
if: always()
Expand All @@ -45,7 +43,6 @@ jobs:
path: '**/target/site/jacoco/'
retention-days: 7

# Sauvegarde des JARs pour le job Docker (Vital pour le job suivant)
- name: Upload Service JARs
uses: actions/upload-artifact@v4
with:
Expand All @@ -66,15 +63,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Full history for blame
fetch-depth: 0

- name: 'Qodana Scan'
uses: jetbrains/qodana-action@v2025.2
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
with:
pr-mode: false
# Linter is already defined in qodana.yaml

# JOB 3 : Docker Build & Push (GHCR)
docker-build:
Expand Down Expand Up @@ -131,4 +127,3 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

Loading
Loading