feat: add shared sonar job

This commit is contained in:
2026-05-27 10:11:00 +00:00
commit 63f02ffb5b

17
.github/workflows/sonar-scan.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Scanning flow
on:
workflow_call:
jobs:
sonarqube-scan:
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 }}