|
1 |
| -name: 'sonarqube' |
2 |
| - |
3 |
| -on: push |
4 |
| - |
5 |
| -jobs: |
6 |
| - sonarQubeTrigger: |
7 |
| - name: Sonarqube-Trigger |
8 |
| - runs-on: ubuntu-latest |
9 |
| - steps: |
10 |
| - - uses: dart-lang/setup-dart@v1 |
11 |
| - - name: Checkout code |
12 |
| - uses: actions/checkout@v2 |
13 |
| - - name: Set up Flutter |
14 |
| - uses: subosito/flutter-action@v2 |
15 |
| - with: |
16 |
| - channel: stable |
17 |
| - flutter-version: 3.22.3 |
18 |
| - - run: flutter --version |
19 |
| - - name: Get Dependencies |
20 |
| - run: flutter pub get app && flutter pub get modules/domain && flutter pub get modules/data && flutter pub get modules/common |
21 |
| - - name: Analyze App |
22 |
| - #run analyze first |
23 |
| - run: flutter analyze |
24 |
| - - name: Setup Sonarqube Scanner |
25 |
| - uses: warchant/setup-sonar-scanner@v8 |
26 |
| - - name: Run Sonarqube Scanner |
27 |
| - run: sonar-scanner |
28 |
| - -Dsonar.token=${{ secrets.SONAR_TOKEN }} |
29 |
| - -Dsonar.host.url=${{ secrets.SONAR_URL }} |
| 1 | +#SonarQube Configuration |
| 2 | +# This is the sonarqube configuration, check readme for instructions |
| 3 | +#name: 'sonarqube' |
| 4 | +# |
| 5 | +#on: push |
| 6 | +# |
| 7 | +#jobs: |
| 8 | +# sonarQubeTrigger: |
| 9 | +# name: Sonarqube-Trigger |
| 10 | +# runs-on: ubuntu-latest |
| 11 | +# steps: |
| 12 | +# - uses: dart-lang/setup-dart@v1 |
| 13 | +# - name: Checkout code |
| 14 | +# uses: actions/checkout@v2 |
| 15 | +# - uses: webfactory/[email protected] |
| 16 | +# with: |
| 17 | +# ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} |
| 18 | +# - name: Set up Flutter |
| 19 | +# uses: subosito/flutter-action@v2 |
| 20 | +# with: |
| 21 | +# channel: stable |
| 22 | +# flutter-version: 3.24.3 |
| 23 | +# - run: flutter --version |
| 24 | +# - name: Get Dependencies |
| 25 | +# run: flutter pub get app && flutter pub get modules/domain && flutter pub get modules/data && flutter pub get modules/common |
| 26 | +# - name: Analyze App |
| 27 | +# #run analyze first |
| 28 | +# run: flutter analyze |
| 29 | +# - name: Setup Sonarqube Scanner |
| 30 | +# uses: warchant/setup-sonar-scanner@v8 |
| 31 | +# - name: Run Sonarqube Scanner |
| 32 | +# run: sonar-scanner |
| 33 | +# -Dsonar.token=${{ secrets.SONAR_TOKEN }} |
| 34 | +# -Dsonar.host.url=${{ secrets.SONAR_URL }} |
0 commit comments