We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46c7a5d commit 2563544Copy full SHA for 2563544
.github/workflows/build.yml
@@ -0,0 +1,20 @@
1
+name: Build
2
+on:
3
+ push:
4
+ branches:
5
+ - master
6
+ pull_request:
7
+ types: [opened, synchronize, reopened]
8
+jobs:
9
+ sonarcloud:
10
+ name: SonarCloud
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ with:
15
+ fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
16
+ - name: SonarCloud Scan
17
+ uses: SonarSource/sonarcloud-github-action@master
18
+ env:
19
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
20
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
0 commit comments