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 00938f9 commit 68811acCopy full SHA for 68811ac
.github/workflows/analyze.yml
@@ -30,9 +30,13 @@ jobs:
30
- name: 🧪 Run Tests
31
run: flutter test --machine --coverage > tests.output
32
33
+ - name: 🛠️ Install sonar-scanner
34
+ run: |
35
+ sudo apt-get install -y openjdk-11-jdk
36
+ wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.1.0.4477-linux-x64.zip
37
+ unzip sonar-scanner-cli-6.1.0.4477-linux-x64.zip
38
+ export PATH=$PATH:$PWD/sonar-scanner-6.1.0.4477-linux/bin
39
+
40
- name: 🪲 Run Sonar
- uses: sonarsource/sonarqube-scan-action@master
- env:
- SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
- SONAR_HOST_URL: ${{secrets.SONAR_HOST_URL}}
41
+ run: sonar-scanner -Dsonar.token=${{secrets.SONAR_TOKEN}} -Dsonar.host.url=${{secrets.SONAR_HOST_URL}}
42
0 commit comments