We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea74764 commit 05c6350Copy full SHA for 05c6350
.github/workflows/sonar.yml
@@ -0,0 +1,22 @@
1
+name: Build
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
10
+jobs:
11
+ build:
12
+ name: Build and analyze
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ with:
18
+ fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
19
+ - uses: sonarsource/sonarqube-scan-action@master
20
+ env:
21
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
22
+ SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
0 commit comments