We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87b0114 commit 7c1f2a5Copy full SHA for 7c1f2a5
1 file changed
.github/workflows/build.yml
@@ -0,0 +1,23 @@
1
+name: Build
2
+on:
3
+ push:
4
+ branches:
5
+ - main # or the name of your main branch
6
+jobs:
7
+ build:
8
+ name: Build
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ with:
13
+ fetch-depth: 0
14
+ - uses: sonarsource/sonarqube-scan-action@master
15
+ env:
16
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
17
+ SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
18
+ # If you wish to fail your job when the Quality Gate is red, uncomment the
19
+ # following lines. This would typically be used to fail a deployment.
20
+ # - uses: sonarsource/sonarqube-quality-gate-action@master
21
+ # timeout-minutes: 5
22
+ # env:
23
+ # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
0 commit comments