Skip to content

add readme description #1

add readme description

add readme description #1

name: 'sonarqube'
on: push
jobs:
sonarQubeTrigger:
name: Sonarqube-Trigger
runs-on: ubuntu-latest
steps:
- uses: dart-lang/setup-dart@v1
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.22.3
- run: flutter --version
- name: Get Dependencies
run: flutter pub get app && flutter pub get modules/domain && flutter pub get modules/data && flutter pub get modules/common
- name: Analyze App
#run analyze first
run: flutter analyze
- name: Setup Sonarqube Scanner
uses: warchant/setup-sonar-scanner@v8
- name: Run Sonarqube Scanner
run: sonar-scanner
-Dsonar.token=${{ secrets.SONAR_TOKEN }}
-Dsonar.host.url=${{ secrets.SONAR_URL }}