Skip to content

Merge pull request #23 from UNamurCSFaculty/denisdetry-patch-1 #45

Merge pull request #23 from UNamurCSFaculty/denisdetry-patch-1

Merge pull request #23 from UNamurCSFaculty/denisdetry-patch-1 #45

Workflow file for this run

name: SonarCloud
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: Verify Maven project
run: mvn verify
- name: Analyze with SonarCloud
run: mvn sonar:sonar -Dsonar.projectKey=UNamurCSFaculty_2324_INFOM126_GROUPE_02 -Dsonar.organization=unamurcsfaculty -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}