Skip to content

Commit 4b0ad08

Browse files
authored
Merge pull request #62 from ComputerScienceHouse/Will-Hellinger-patch-1
Add sonarqube?
2 parents 5342418 + eb1c324 commit 4b0ad08

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/sonarqube.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
9+
jobs:
10+
build:
11+
name: Build and analyze
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
18+
- uses: SonarSource/sonarqube-scan-action@v6
19+
env:
20+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
21+
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
22+
args: >
23+
-Dsonar.projectKey=ComputerScienceHouse_audiophiler_abf74f4d-218d-4ab2-938b-cde83b7e1800

0 commit comments

Comments
 (0)