chore(deps): bump org.sonarsource.scanner.maven:sonar-maven-plugin from 5.3.0.6276 to 5.5.0.6356 #200
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Project | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| permissions: | |
| pull-requests: read # allows SonarCloud to decorate PRs with analysis results | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| # JDK16 is needed for the tests | |
| - name: Set up JDK 16 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '16' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: validate project | |
| run: mvn validate | |
| - name: compile project | |
| run: mvn compile | |
| - name: test project | |
| run: mvn test -Pcoverage | |
| # JDK 17 is needed for sonar analysis | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Analyze with SonarCloud | |
| run: mvn sonar:sonar -Pcoverage | |
| env: | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |