+ - name: Download sonar-scanner
+ run: |
+ curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.1.0.4477-linux-x64.zip
+ unzip $HOME/.sonar/sonar-scanner.zip -o -d $HOME/.sonar/
+ - name: Run sonar-scanner
+ env:
+ SONAR_TOKEN: \${{ secrets.SONAR_TOKEN }}
+ SONAR_HOST_URL: \${{ secrets.SONAR_HOST_URL }}
+ run: |
+ sonar-scanner-6.1.0.4477-linux-x64/bin/sonar-scanner \\
+ -Dsonar.projectKey=${component.key}`}
+ language="yml"
+ />
+
+
+ {translate('onboarding.analysis.sq_scanner.docs_link')},
+ }}
+ />
+
+