diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4116e5c..9989760 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: run: working-directory: . steps: - # Nous allons utiliser l'action checkout qui récupère le code source depuis GitHub . + # Nous allons utiliser l'action checkout qui récupère le code source depuis GitHub. - name: Checkout code uses: actions/checkout@v4 @@ -29,7 +29,7 @@ jobs: - name: Install dependencies run: npm install - # Execution des tests unitaires avec npm run test + # Exécution des tests unitaires avec npm run test - name: Run tests run: npm run test services: @@ -43,13 +43,13 @@ jobs: POSTGRES_DB: testdb sonarqube: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: SonarQube Scan - uses: sonarsource/sonarqube-scan-action@ - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: SonarQube Scan + uses: sonarsource/sonarqube-scan-action@ + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }}