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 2e0b672 commit 8830a57Copy full SHA for 8830a57
.github/workflows/main.yml
@@ -0,0 +1,22 @@
1
+name: Build
2
+on:
3
+ # Trigger analysis when pushing to your main branches, and when creating a pull request.
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+
10
+jobs:
11
+ sonarqube:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ with:
16
+ # Disabling shallow clones is recommended for improving the relevancy of reporting
17
+ fetch-depth: 0
18
+ - name: SonarQube Scan
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