Skip to content

Commit

Permalink
fix: missing clean verify in SC analysis workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
juancho0202 committed Jun 6, 2023
1 parent 6d1bd6e commit 8e9518d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sonarcloud-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
-Dsonar.pullrequest.key=${{ fromJson(steps.get_pr_data.outputs.data).number }} \
-Dsonar.pullrequest.base=${{ fromJson(steps.get_pr_data.outputs.data).base.ref }} \
-Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} \
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
- name: Build and analyze (Push)
if: ${{ github.event.workflow_run.event == 'push' }}
env:
Expand All @@ -106,4 +106,4 @@ jobs:
${{ steps.sonar_env.outputs.sonar_opts }} \
-Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} \
-Dsonar.branch.name=${{ github.event.workflow_run.head_branch }} \
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar

0 comments on commit 8e9518d

Please sign in to comment.