Add SonarQube workflow and test file
Some checks failed
SonarQube Analysis / sonarqube (push) Failing after 46s

This commit is contained in:
2026-01-03 20:16:56 +00:00
parent 903c715425
commit d91c800460
3 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
name: SonarQube Analysis
on:
push:
branches: [main, master, develop]
pull_request:
jobs:
sonarqube:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}