diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 0d38bee..1ada8f8 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -59,6 +59,10 @@ jobs: env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} + with: + projectBaseDir: app/src + args: > + -Dsonar.projectVersion=${{ gitea.sha }} - uses: SonarSource/sonarqube-quality-gate-action@v1 timeout-minutes: 5 env: