sonar / sonar (push) Successful in 2m21s
Co-authored-by: Cursor <cursoragent@cursor.com>
34 lines
668 B
YAML
34 lines
668 B
YAML
name: sonar
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- develop
|
|
- "release/**"
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- develop
|
|
- "release/**"
|
|
|
|
jobs:
|
|
sonar:
|
|
name: sonar
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: SonarQube Scan + Quality Gate
|
|
uses: sonarsource/sonarqube-scan-action@v5
|
|
env:
|
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
|
with:
|
|
args: >
|
|
-Dsonar.qualitygate.wait=true
|
|
-Dsonar.qualitygate.timeout=300
|