Skip to content

Commit 09419d1

Browse files
committed
Revert "Remove sonar file in favour of Automatic Analysis"
This reverts commit ea88237.
1 parent ea88237 commit 09419d1

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "Sonarcloud Analysis"
2+
3+
on: ["pull_request"]
4+
5+
jobs:
6+
sonarcloud-analysis:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v4
13+
with:
14+
# Disabling shallow clone to improve relevancy of SonarCloud reporting
15+
fetch-depth: 0
16+
17+
- name: SonarCloud integration
18+
uses: sonarsource/sonarcloud-github-action@master
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)