We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a81fd90 commit d80c037Copy full SHA for d80c037
.github/workflows/sonarcloud-analysis.yml
@@ -0,0 +1,20 @@
1
+on:
2
+ # Trigger analysis when pushing in master or pull requests, and when creating
3
+ # a pull request.
4
+ push:
5
+ branches:
6
+ - master
7
+name: Main Workflow
8
+jobs:
9
+ sonarcloud:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ with:
14
+ # Disabling shallow clone is recommended for improving relevancy of reporting
15
+ fetch-depth: 0
16
+ - name: SonarCloud Scan
17
+ uses: sonarsource/sonarcloud-github-action@master
18
+ env:
19
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
0 commit comments