add sonarqube job for testing if it works
All checks were successful
build / build (push) Successful in 30s

This commit is contained in:
Namu
2025-09-13 19:12:00 +02:00
parent 1a952af9e2
commit 7ee43bcc43
2 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
name: SonarQube Scan
jobs:
sonarqube:
name: SonarQube Trigger
runs-on: ubuntu-latest
steps:
- name: Checking out
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: SonarQube Scan
uses: kitabisa/sonarqube-action@v1.2.0
with:
host: ${{ secrets.SONARQUBE_HOST }}
login: ${{ secrets.SONARQUBE_TOKEN }}

View File

@@ -10,6 +10,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{9AB7403F-27F5-4E37-A3CB-1CF6091DCACA}"
ProjectSection(SolutionItems) = preProject
build.yml = build.yml
sonar.yml = sonar.yml
EndProjectSection
EndProject
Global