We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae036ef commit c35632aCopy full SHA for c35632a
.github/workflows/python-package.yml
@@ -42,6 +42,8 @@ jobs:
42
python-version: ["3.12"]
43
steps:
44
- uses: actions/checkout@v4
45
+ with:
46
+ fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of Sonar analysis
47
- name: Set up PDM
48
uses: pdm-project/setup-pdm@v4
49
with:
@@ -66,8 +68,8 @@ jobs:
66
68
token: ${{ secrets.CODECOV_TOKEN }}
67
69
files: ./coverage.xml # coverage report
70
- - name: SonarCloud scanner
- uses: sonarsource/sonarcloud-github-action@master
71
+ - name: SonarCloud scan
72
+ uses: SonarSource/sonarcloud-github-action@master
73
env:
- GITHUB_TOKEN: ${?{ secrets.GITHUB_TOKEN }}
- SONAR_TOKEN: ${?{ secrets.SONAR_TOKEN }}
74
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
75
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
0 commit comments