diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3e91fe5..3eccd73 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,19 +49,24 @@ jobs: run: working-directory: syg-backend steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 + - uses: actions/checkout@v4 + - name: Set up JDK 11 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + cache: maven + fetch-depth: 0 # Build and test the project - - name: Build and Test - run: mvn clean install + - name: Build and Test + run: mvn clean install - # SonarCloud analysis - - name: SonarCloud Analysis - run: mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + # SonarCloud analysis + - name: SonarCloud Analysis + run: mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} sonarcloudFrontend: name: sonarcloudFrontend diff --git a/README.md b/README.md index fd2237f..2ad9234 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ [![Deploy on release](https://github.com/Arquisoft/wiq_es1d/actions/workflows/release.yml/badge.svg)](https://github.com/Arquisoft/wiq_es1d/actions/workflows/release.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Arquisoft_wiq_es1d&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=Arquisoft_wiq_es1d) -[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=Arquisoft_wiq_es1d&metric=coverage)](https://sonarcloud.io/summary/new_code?id=Arquisoft_wiq_es1d) -![Coverage Badge](https://codecov.io/gh/tu-usuario/tu-repositorio/branch/main/graph/badge.svg) +[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=Arquisoft_wiq_es1d/syg-backend&metric=coverage)](https://sonarcloud.io/summary/new_code?id=Arquisoft_wiq_es1d) +[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=syg-frontend&metric=coverage)](https://sonarcloud.io/summary/new_code?id=Arquisoft_wiq_es1d) This is a base repo for the [Software Architecture course](http://arquisoft.github.io/) in [2023/2024 edition](https://arquisoft.github.io/course2324.html). diff --git a/syg-frontend/sonar-project.properties b/syg-frontend/sonar-project.properties index 4e542b8..25f057b 100644 --- a/syg-frontend/sonar-project.properties +++ b/syg-frontend/sonar-project.properties @@ -1,8 +1,8 @@ -sonar.projectKey=Arquisoft_wiq_es6b +sonar.projectKey=Arquisoft_wiq_es1d sonar.organization=arquisoft # This is the name and version displayed in the SonarCloud UI. -sonar.projectName=wiq_es6b +sonar.projectName=wiq_es1d sonar.projectVersion=1.0 sonar.sources=src