feat: add shared sonar job
This commit is contained in:
17
.github/workflows/sonar-scan.yml
vendored
Normal file
17
.github/workflows/sonar-scan.yml
vendored
Normal 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 }}
|
||||||
Reference in New Issue
Block a user