Create ci-sonar.yml

This commit is contained in:
Mark Sinclair
2025-07-14 17:24:42 +01:00
committed by GitHub
parent ec53b570dc
commit 83385421ff
+19
View File
@@ -0,0 +1,19 @@
name: Build
on:
push:
branches:
- develop
# pull_request:
# types: [opened, synchronize, reopened]
jobs:
sonarqube:
name: SonarQube
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v5
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}