We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8fba29 commit 16877b1Copy full SHA for 16877b1
.github/workflows/sonar.yaml
@@ -29,8 +29,14 @@ jobs:
29
java-version: 11
30
distribution: 'zulu' # Alternative distribution options are available.
31
32
+ - name: Cache SonarCloud packages
33
+ uses: actions/cache@v3
34
+ with:
35
+ path: ~/.sonar/cache
36
+ key: ${{ runner.os }}-sonar
37
+ restore-keys: ${{ runner.os }}-sonar
38
- name: Build and analyze
39
env:
40
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
41
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- run: mvn -B --file pom.xml -P sonar-profile org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=FilippoMuschera_openjpaFork
42
+ run: mvn -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=FilippoMuschera_openjpaFork
0 commit comments