Skip to content

Commit

Permalink
Merge pull request #2900 from c71n93/2899-configure-java-version-for-…
Browse files Browse the repository at this point in the history
…sonar

Configure Java version for Sonar to avoid incorrect issues
  • Loading branch information
yegor256 committed Feb 27, 2024
2 parents b3ae434 + 49bfd19 commit 4e73ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sonar.yml
Expand Up @@ -35,4 +35,4 @@ jobs:
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn --batch-mode install -Dinvoker.skip org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Pjacoco -Dsonar.qualitygate.wait=true
run: mvn --batch-mode install -Dinvoker.skip org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Pjacoco -Dsonar.java.source=1.8 -Dsonar.qualitygate.wait=true

0 comments on commit 4e73ac9

Please sign in to comment.