Skip to content

Merge para peer review #10

Merge para peer review

Merge para peer review #10

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarqube:
name: SonarQube
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
# The analysis requires to retrieve dependencies and build successfully
- name: Instalar Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: 3.27.3
- name: Instalar Dependências
run: |
cd catavento
flutter pub get
flutter pub upgrade
- name: Build
run: cd catavento && flutter build windows
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v4
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.c.file.suffixes=-
-Dsonar.cpp.file.suffixes=-
-Dsonar.objc.file.suffixes=-