Skip to content

Commit 0217fdc

Browse files
authored
Merge pull request #63 from ComputerScienceHouse/sonarqube-integration
Sonarqube integration
2 parents 2bf302d + 717a223 commit 0217fdc

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/sonarqube.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: SonarQube Scan
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
8+
jobs:
9+
build:
10+
name: Build and analyze
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
- uses: SonarSource/sonarqube-scan-action@v6
18+
env:
19+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
20+
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}

sonar-project.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sonar.projectKey=ComputerScienceHouse_letmein2_2b72cdb6-0dbe-4a5e-86a2-27b4495e5511

0 commit comments

Comments
 (0)