File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : CI
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ types : [opened, synchronize, reopened]
9+ env :
10+ PY_COLORS : 1
11+ ANSIBLE_FORCE_COLOR : 1
12+ ANSIBLE_STDOUT_CALLBACK : yaml
13+ jobs :
14+ sonarcloud :
15+ name : SonarCloud
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v2
19+ with :
20+ fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
21+ - name : SonarCloud Scan
22+ uses : SonarSource/sonarcloud-github-action@master
23+ env :
24+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
25+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change 1+ sonar.projectKey =lean-delivery_ansible-role-java
2+ sonar.organization =lean-delivery
3+
4+ # This is the name and version displayed in the SonarCloud UI.
5+ # sonar.projectName=ansible-role-java
6+ # sonar.projectVersion=1.0
7+
8+ # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
9+ sonar.sources =.
10+
11+ # Encoding of the source code. Default is default system encoding
12+ # sonar.sourceEncoding=UTF-8
You can’t perform that action at this time.
0 commit comments